auxiliary/rpage

Highly responsive pagination for Bootstrap.

Installs: 1 213

Dependents: 0

Suggesters: 0

Security: 0

Stars: 110

Watchers: 14

Forks: 52

Open Issues: 12

Language:JavaScript

dev-master / 1.0.x-dev 2018-06-22 21:49 UTC

This package is not auto-updated.

Last update: 2025-05-10 19:02:55 UTC


README

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>