• Stars
    star
    110
  • Rank 315,600 (Top 7 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created almost 11 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Highly responsive pagination for Bootstrap

rpage

Highly responsive pagination for Bootstrap (http://auxiliary.github.io/rpage/)

Demo

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>