Skip to content

BreadMaker/rpage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Highly responsive pagination for Bootstrap

Usage

Just include responsive-pagination.js and call the rPage function on the pagination element like this:

$(document).ready(function () {
    $(".pagination").rPage();
}); 

Previous and Next Links

rPage won't hide previous and next links with bootstrap's default "«" and "»" content. If you want to use custom text in your links, add classes to your list items like this:

<ul class="pagination">
  <li class="pagination-prev"><a href="#">Previous</a></li>
  <!-- ... ->
  <li class="pagination-next"><a href="#">Next</a></li>
</ul>

About

Highly responsive pagination for Bootstrap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.6%
  • HTML 25.4%