Skip to content

Latest commit

 

History

History
86 lines (79 loc) · 1.98 KB

README.md

File metadata and controls

86 lines (79 loc) · 1.98 KB

jQuery Paginator 3000

Usage

HTML:

<div class="paginator" id="paginator1"></div>

JavaScript:

$('paginator1').paginator();

Settings

Property Type Default Description
pagesTotal int 1 Total pages count
pagesSpan int 10 Length span of pages
pageCurrent int 50 Сurrent page number
baseUrl string index.html?page=%number% URL pattern
buildCounter function Function for calculating page numbers
pageScroll int 3 Turnover number of pages with scrolling
clickHandler function The callback function is called when was clicked page link
returnOrder bool false Flag display pages in reverse order
lang object Object of localization
events object {keyboard: true, scroll: true} Options binding events