Lightweight Any Element Pagination Plugin With jQuery - easyPaginate

File Size: 5.75 KB
Views Total: 4005
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Lightweight Any Element Pagination Plugin With jQuery - easyPaginate

easyPaginate.js is a lightweight jQuery plugin that provides an easy way to paginate any group of DOM elements on your web page. With several useful options to customize the animations, pagination controls and more.


$ npm install jquery.easyPaginate --save

# Bower
$ bower install jquery.easyPaginate

How to use it:

1. Add a group of html elements to the pagination container.

<div id="easyPaginate">
  <img src="1.jpg">
  <img src="2.jpg">
  <img src="3.jpg">

2. Put jQuery library and the easyPaginate.js script at the bottom of the webpage.

  paginateElement: 'img'

3. Specify hown many elements per page.

  paginateElement: 'img',
  elementsPerPage: 10

4. Config the animation when you paginate between elements.


  // 'default', 'fade', 'slide', 'climb'
  effect: 'default'


5. Customize the pagination links/buttons.


  firstButton: true,
  firstButtonText: '<<',
  lastButton: true,
  lastButtonText: '>>',        
  prevButton: true,
  prevButtonText: '<',        
  nextButton: true,
  nextButtonText: '>'


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