Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
Eugene committed May 31, 2014
1 parent f08e569 commit a788c5e
Showing 1 changed file with 35 additions and 4 deletions.
39 changes: 35 additions & 4 deletions README.md
@@ -1,11 +1,42 @@
### jQuery pagination plugin (bootstrap powered)
## jQuery pagination plugin (bootstrap powered) ##

[Documentation](http://esimakin.github.io/twbs-pagination/)
### Basic usage ###

### Changelog
Plugin requires jQuery (min - 1.11.1, recomended - 1.7.1 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);
}
});
```

For more information see [docs on github pages](http://esimakin.github.io/twbs-pagination/)

#### Changelog ####

v1.1.1
- Fix bug with incorrect next\prev page link in href attribute

v1.1
- Added 'hold current page on center'

v1.0
- Simple pagination
- Simple pagination

#### License ####

Copyright 2014 &copy; Eugene Simakin

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

0 comments on commit a788c5e

Please sign in to comment.