iPad javascript scrolling
Posted
by
davids
on Stack Overflow
See other posts from Stack Overflow
or by davids
Published on 2012-03-22T11:27:14Z
Indexed on
2012/03/22
11:29 UTC
Read the original article
Hit count: 233
I'd like to get the same behaviour of the native javascript scrollTo function in iPad, just attaching a function to the swipe event and scrolling the content a specific number of pixels. That doesn't work in iPad using scrollTo or several different jquery plugins, like scrollTo or iScroll. I think I'm having problems because I'm working with an iframe, as I have another html document in it, with its body divided in columns, but I'm just showing the first one. The point of all this is that, after swiping, it should show the next/prev column, and I tried scrolling the iframe window or the inner's html body, which actually works in chrome, but it doesn't in iPad.
© Stack Overflow or respective owner