diff --git a/index.html b/index.html index 54a8a6d..0b6f342 100644 --- a/index.html +++ b/index.html @@ -66,11 +66,10 @@

class="octicon octicon-link">Demo

- -

-
- -
+
+
+ +

Here is corresponding piece of code:

@@ -128,6 +127,23 @@

Examples

+

Versions

+ +

Choose behaviour of method getPages. Try to following demos:

+ +
+ +
+ +
VS
+ +
+ +
+ +

Download first or + second.

+

URL page link

You can specify url using href option:

diff --git a/js/main.js b/js/main.js index 67f240d..1ec2df1 100644 --- a/js/main.js +++ b/js/main.js @@ -14,6 +14,16 @@ $(document).ready(function () { } }); + $('#pagination-demo-v1_0').twbsPagination({ + totalPages: 15, + version: '1.0' + }); + + $('#pagination-demo-v1_1').twbsPagination({ + totalPages: 15, + version: '1.1' + }); + $('#visible-pages-example').twbsPagination({ totalPages: 35, visiblePages: 10,