mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-31 20:10:13 +00:00
taming iscroll...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bb26628868
commit
03eaa07bc0
@ -131,13 +131,10 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
window.myScroll = new iScroll('viewer', {
|
window.myScroll = new iScroll('viewer', {
|
||||||
vScroll: false,
|
vScroll: false,
|
||||||
// XXX we do not actually need this, just a couple fixed zoom levels...
|
|
||||||
zoom: true,
|
|
||||||
zoomMin: 0.1,
|
|
||||||
snap: '.page',
|
snap: '.page',
|
||||||
momentum: false,
|
momentum: false,
|
||||||
hScrollbar: false,
|
hScrollbar: false,
|
||||||
chechDOMChanges: true,
|
//chechDOMChanges: true,
|
||||||
/*
|
/*
|
||||||
onScrollEnd: function () {
|
onScrollEnd: function () {
|
||||||
var n = getPageNumber()
|
var n = getPageNumber()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user