Safari Scrollbar in iFrame Not showing for iPad

I have a page with iframe in it and as its long users need to scroll in iframe to see other content . Although iPad doesnt show any scrollbar which is by default as I think.Although I did read that you can scroll with two finger but that didnt work for me either .

Whats a possible solution in this case ? Show a div with jquery if its ipad which can scroll to a next location on page ?


I ran into the same problem in one of my applications as well. Unfortunately mobile safari does not support scrollbars. You should be able to scroll using two fingers, though. In fact, the iPad User Guide explicitly calls this out:

Use two fingers to scroll within a frame on a webpage. Use one finger to scroll the entire webpage

Alternatively, you could think about changing your page navigation. For example, if you are displaying a table of information you could use a pager to only show N items at a time. That would allow a user to page through your data without requiring a scrollbar.

链接地址: http://www.djcxy.com/p/41816.html

上一篇: 为什么不能在iPad上滚动iframe div?

下一篇: iFrame中的Safari滚动条不适用于iPad