diff --git a/index.html b/index.html index 1ec623f..3613825 100755 --- a/index.html +++ b/index.html @@ -23,9 +23,9 @@ $(document).ready(function(){ .resize(function() { fitNPages(PAGES_VISIBLE) }) - .bind('hashchange', function(){ + .bind('hashchange', function(e){ + e.preventDefault() setCurrentPage(loadURLState()) - return false }) $('.viewer') @@ -108,14 +108,16 @@ $(document).ready(function(){

Magazine Cover

Navigation via #URLs

-

BUG: currently navigation via existing anchors - will break the layout, so use the name attribute - on any other tags (see example). -

The basics

Page #1
- Page #3
Named page
+

+ Anchor on page #3
+ BUG: currently navigation via existing anchors + will break the layout, so use the name attribute + on any other tags (see example). + +

Special anchors

These show up in the page URL

@@ -134,7 +136,7 @@ $(document).ready(function(){ Next article
Previous article
-
+ Page