From bcfcb2c0d39707d3a7258405e4d03923b7947029 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 13 Feb 2013 18:11:53 +0400 Subject: [PATCH] more tweeks, still dancing, but now there is hope... Signed-off-by: Alex A. Naanou --- layout.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/layout.html b/layout.html index 398b4fa..40d8eeb 100755 --- a/layout.html +++ b/layout.html @@ -147,11 +147,16 @@ $(document).ready(function(){ runMagazineTemplates() //setCurrentPage(0) - limit_scroll() + //limit_scroll() }) var SCROLL_LIMIT = 800 * 1.5 +function setup_scroll_limiter(){ + $('.magazine').wrapAll($('
')) + limit_scroll() +} + // XXX set the limit to next/prev page alignment... function limit_scroll(){ var W = $('.viewer').width() @@ -181,8 +186,6 @@ function clear_limits(){
-
-
@@ -545,8 +548,6 @@ function clear_limits(){
-
-