Skip to content

louiezhao/jquery-list-pagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery List Pagination Plugin

To use this plugin you need to include jquery.js and jquery.pagination.js in your document.

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
  <script src="../js/jquery.pagination.js"></script>

A sample usage will be

  <script type="text/javascript">
    $(document).ready(function() {
      $(".alphas").pagination({
        panel: "top",
        cssClass: "paginator",
        innerClass: null,
        style: "none",
        withPerPageSelect: false,
        perPage: 4,
        descTemplate: "Page #{page} of #{pages}",
        beforeClick: function(collection) {
          alert("beforeClick");
        }
      });
    });
  </script>

To see the demo click here.

About

Simple jQuery pagination for list

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published