Dynamic Pagination Component For jQuery - Pajinatify

Dynamic Pagination Component For jQuery - Pajinatify

The Pajinatify jQuery plugin lets you dynamically render pagination links with next/prev navigation arrows for long web content.

You can specify the total number of records and the number of records to show per page.

Fully responsive based on CSS3 flexbox.

1. Include the stylesheet jquery.pajinatify.css for the basic styling of the pagination control.

<link rel="stylesheet" href="jquery.pajinatify.css">

2. Include the minified version of the jQuery Pajinatify plugin after jQuery.

<script src="https://code.jquery.com/jquery-3.3.1.min.js" 
<script src="dist/jquery.pajinatify.js"></script>

3. Create a pagination container and specity the number of pages & records with the following data attributes:

<div class='pagination' 

4. Call the function on the container and get the current page when the pagination changes.

  onChange: function (currentPage) {

5. Goto a specific page.

// set($el, currentPage, totalCount)
$('.pagination').pajinatify('set', 5, 1000);

6. Destroy the pagination component.


This awesome jQuery plugin is developed by digitalify. For more Advanced Usages, please check the demo page or visit the official website.

  • Publication date: 22.08.2018
  • Source