Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/josecebe/twbs-pagination

jQuery pagination plugin (bootstrap powered)
https://github.com/josecebe/twbs-pagination

Last synced: 23 days ago
JSON representation

jQuery pagination plugin (bootstrap powered)

Awesome Lists containing this project

README

        

# [jQuery pagination plugin (bootstrap powered)](http://josecebe.github.io/twbs-pagination/)

### Basic usage ###

Plugin requires jQuery (required - 1.7.0 or higher).

You can use Bootstrap CSS styles and markup (or use your own).

The following code shows call the function on `

    ` tag (it can be also `
    ` tag).

    ```javascript
    $('#pagination-demo').twbsPagination({
    totalPages: 35,
    visiblePages: 7,
    onPageClick: function (event, page) {
    $('#page-content').text('Page ' + page);
    }
    });
    ```

    ## Contributing
    For development use grunt build to make minified file.
    To use grunt install packages by using: npm install

    ## Demo and Docs
    For more information see [docs on github pages](http://josecebe.github.io/twbs-pagination/) (not completed yet)