Changes between Version 2 and Version 3 of PaginatorTag


Ignore:
Timestamp:
07/08/06 17:09:33 (9 years ago)
Author:
Jonathan Buchanan
Comment:

Added sample output images and the CSS used to format their contents

Legend:

Unmodified
Added
Removed
Modified
  • PaginatorTag

    v2 v3  
    77 * '''show_first''': A boolean representing whether a first page link should be shown - this will be '''True''' if the first page number doesn't appear in '''page_numbers'''.
    88 * '''show_last''': A boolean representing whether a last page link should be shown - this will be '''True''' if the last page number doesn't appear in '''page_numbers'''.
     9
     10== Sample Output ==
     11
     12An object list with 7 pages, using the default number of adjacent links per page.
     13
     14http://www.jonathanbuchanan.plus.com/images/paginatortag01.png [[BR]]
     15http://www.jonathanbuchanan.plus.com/images/paginatortag02.png [[BR]]
     16http://www.jonathanbuchanan.plus.com/images/paginatortag03.png [[BR]]
     17http://www.jonathanbuchanan.plus.com/images/paginatortag04.png
    918
    1019== Usage ==
     
    6574}}}
    6675
    67 paginator.js, used by the above:
     76Paginator Javascript object, as used by the above:
    6877{{{
    6978var Paginator =
     
    8392};
    8493}}}
     94
     95Sample paginator CSS, as used to style the sample output images:
     96{{{
     97.paginator { padding: .25em .25em .6em .25em; }
     98.paginate-pages { padding: 2px 3px; border: 1px solid #ddd; cursor: pointer; text-decoration: underline; }
     99.paginate-first, .paginate-last { padding: 2px 6px; border: 1px solid #ddd; font-weight: bold; }
     100.paginate-previous, .paginate-next { padding: 2px 3px; border: 1px solid #ddd; }
     101.paginate-link { padding: 2px 4px; border: 1px solid #ddd; }
     102.paginate-current { padding: 2px 4px; border: 1px solid #ddd; font-weight: bold; background:#417690; color:#f4f379; }
     103}}}
Back to Top