### 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 `<ul>` tag (it can be also `<div>` tag).
```javascript
$('#pagination-demo').twbsPagination({
totalPages: 35,
visiblePages: 7,
onPageClick: function (event, page) {
$('#page-content').text('Page ' + page);
}
});
```
## Demo and Docs Click Here
Source : jQuery Pagination plugin
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 `<ul>` tag (it can be also `<div>` tag).
```javascript
$('#pagination-demo').twbsPagination({
totalPages: 35,
visiblePages: 7,
onPageClick: function (event, page) {
$('#page-content').text('Page ' + page);
}
});
```
## Demo and Docs Click Here
Source : jQuery Pagination plugin
No comments:
Post a Comment