diff --git a/css/stylesheet.css b/css/stylesheet.css index 95176ca..67724d2 100644 --- a/css/stylesheet.css +++ b/css/stylesheet.css @@ -519,5 +519,10 @@ footer a:hover { } .affix { - position: fixed; + width: 200px; + top: 20px; +} + +.affix-top { + width: 200px; } \ No newline at end of file diff --git a/index.html b/index.html index 6fbe2cf..cc30cff 100644 --- a/index.html +++ b/index.html @@ -26,7 +26,7 @@ jQuery Pagination plugin - +

jQuery Pagination plugin

@@ -42,7 +42,7 @@

Optimized for bootstrap

- Intro

This jQuery plugin simplifies the usage of Bootstrap Pagintion. It uses appropriate classes: @@ -62,7 +62,7 @@

- Demo

@@ -87,7 +87,7 @@

    <ul id="pagination-demo" class="pagination-sm"></ul>

- Options and events

@@ -116,7 +116,7 @@

- Examples

URL page link

@@ -131,14 +131,14 @@

URL page link

diff --git a/js/main.js b/js/main.js index b24126c..7800c54 100644 --- a/js/main.js +++ b/js/main.js @@ -6,5 +6,12 @@ $(document).ready(function () { $('#page-content').text('Page ' + page); } }); + + $('#navigation').affix({ + offset: { + top: 200 + } + }); + });