mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 19:20:09 +00:00
some testing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3114ffe707
commit
cce9a739b5
@ -159,9 +159,6 @@ $(document).ready(function(){
|
|||||||
}, 500)
|
}, 500)
|
||||||
})
|
})
|
||||||
|
|
||||||
// testing scroll without zoom...
|
|
||||||
setPageScale(1)
|
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -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)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -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({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user