开发者

Scrolling pages with multiple scroll bars in mobile Safari

I've a page, where in I've multiple scroll bars inside s. When I access it from mobile safari, I'm not able to scroll through the <div> s. Is it the default behavior? I know that it is possible to fix it (us开发者_C百科ing Dojo/jQuery). But I just wanted to ensure that this is how it works by default.

Regards, Jim


Yes, this is how it works by default. You'll need to use ontouchstart ontouchend and ontouchmove to simulate scrolling a container when accessing it on an iPhone.

Here's an article on it: http://www.sitepen.com/blog/2008/07/10/touching-and-gesturing-on-the-iphone/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜