sanbro / rpage

Highly responsive pagination for Bootstrap

Home Page:http://auxiliary.github.io/rpage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rpage

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

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

http://auxiliary.github.io/rpage

License:GNU General Public License v2.0


Languages

Language:JavaScript 60.6%Language:HTML 39.4%