From cce9a739b5b677b249201e65982875dfbb2e7f0e Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 14 Feb 2013 17:46:04 +0400 Subject: [PATCH] some testing... Signed-off-by: Alex A. Naanou --- index.html | 3 --- layout-iscroll.html | 2 +- magazine.js | 3 ++- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 0d8d890..325b55c 100755 --- a/index.html +++ b/index.html @@ -159,9 +159,6 @@ $(document).ready(function(){ }, 500) }) - // testing scroll without zoom... - setPageScale(1) - }) diff --git a/layout-iscroll.html b/layout-iscroll.html index 91b4032..fcdd8c6 100755 --- a/layout-iscroll.html +++ b/layout-iscroll.html @@ -149,7 +149,7 @@ $(document).ready(function(){ }) // XXX gets overwritten by iscroll... - //setMagazineScale(1.2) + setElementScale($('.page .content'), 0.5) /* diff --git a/magazine.js b/magazine.js index 5c524d7..b782067 100755 --- a/magazine.js +++ b/magazine.js @@ -218,7 +218,8 @@ function getPageAt(n){ function shiftMagazineTo(offset){ var mag = $('.magazine') - var scale = getPageScale() + //var scale = getPageScale() + var scale = 1 if(USE_TRANSFORM){ var transform = 'translate('+ offset +'px, 0px) scale('+ scale +') translateZ(0px)' mag.css({