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({