BootPag - boostrap dynamic pagination jQuery plugin
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 34 commits behind botmonster:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
LICENSE.txt
README.md
bootpag.jquery.json
build.sh
index.html

README.md

bootpag - dynamic pagination jQuery plugin

This jQuery plugin helps you create dynamic pagination with twitter bootstrap or in any other html pages.

#Example

Snippet that dynamic loads number of pages. More examples can be found on project homepage

<p id="content">Dynamic page content</p>
<p id="pagination-here"></p>
$('#pagination-here').bootpag({
    total: 38,          // total pages
    page: 1,            // default page
    maxVisible: 10,     // visible pagination
    leaps: true         // next/prev leaps through maxVisible
}).on("page", function(event, num){
    $("#content").html("Page " + num); // or some ajax content loading...
}); 

#License

Plugin available under MIT license (see LICENSE.txt)