some testing...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-02-14 17:46:04 +04:00
parent 3114ffe707
commit cce9a739b5
3 changed files with 3 additions and 5 deletions

View File

@ -159,9 +159,6 @@ $(document).ready(function(){
}, 500) }, 500)
}) })
// testing scroll without zoom...
setPageScale(1)
}) })
</script> </script>

View File

@ -149,7 +149,7 @@ $(document).ready(function(){
}) })
// XXX gets overwritten by iscroll... // XXX gets overwritten by iscroll...
//setMagazineScale(1.2) setElementScale($('.page .content'), 0.5)
/* /*

View File

@ -218,7 +218,8 @@ function getPageAt(n){
function shiftMagazineTo(offset){ function shiftMagazineTo(offset){
var mag = $('.magazine') var mag = $('.magazine')
var scale = getPageScale() //var scale = getPageScale()
var scale = 1
if(USE_TRANSFORM){ if(USE_TRANSFORM){
var transform = 'translate('+ offset +'px, 0px) scale('+ scale +') translateZ(0px)' var transform = 'translate('+ offset +'px, 0px) scale('+ scale +') translateZ(0px)'
mag.css({ mag.css({