Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pelletier/jquery.slidingpagination

A jQuery plugin for slide-based pagination.
https://github.com/pelletier/jquery.slidingpagination

Last synced: about 1 month ago
JSON representation

A jQuery plugin for slide-based pagination.

Awesome Lists containing this project

README

        

# jQuery.SlidingPagination

A simple slide-based pagination plugin for jQuery.

## Live on jsfiddle

[See it live](http://jsfiddle.net/pelletier/gNBVv/1/)

## Requirements

- jQuery (tested on 1.5.2)
- [Mustache.js](https://github.com/janl/mustache.js/)

## Example

Pagination

$(document).ready(function() {
var current = 6;
var max = 96;

$("#paging").slidingPagination({
'current': current,
'max': max,
});
});