Changes between Version 2 and Version 3 of PaginatorTag
- Timestamp:
- Jul 8, 2006, 5:09:33 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PaginatorTag
v2 v3 7 7 * '''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'''. 8 8 * '''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 12 An object list with 7 pages, using the default number of adjacent links per page. 13 14 http://www.jonathanbuchanan.plus.com/images/paginatortag01.png [[BR]] 15 http://www.jonathanbuchanan.plus.com/images/paginatortag02.png [[BR]] 16 http://www.jonathanbuchanan.plus.com/images/paginatortag03.png [[BR]] 17 http://www.jonathanbuchanan.plus.com/images/paginatortag04.png 9 18 10 19 == Usage == … … 65 74 }}} 66 75 67 paginator.js,used by the above:76 Paginator Javascript object, as used by the above: 68 77 {{{ 69 78 var Paginator = … … 83 92 }; 84 93 }}} 94 95 Sample 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 }}}