Skip to content

snovichkov/jquery-paginator-3000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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