开发者

How to avoid two finger scroll in iphone?

I have vertical scroll bar inside of my web page. When i run this web site in iphone, I have to use two finger to scroll the content. Is there any way to fix this problem? The content needs to be scroll by using single finger.

I have a code like this

开发者_运维技巧<div style="height:600px; overflow:scroll">
Content goes here
</div>


You can use a scrolling library like TouchScroll or iScroll. iScroll has more features, but having tried both in a production application, I found TouchScroll performed more reliably.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜