iPad 上的 IFRAME 和 Safari,用户如何滚动内容? [英] IFRAMEs and the Safari on the iPad, how can the user scroll the content?

查看:28
本文介绍了iPad 上的 IFRAME 和 Safari,用户如何滚动内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据 Apple iOS 的口头禅,应该可以通过用两个手指拖动来滚动 IFRAME 的内容.不幸的是,在 iPad 上运行最新版本的 iOS 我还没有找到一个带有 IFRAME 的网站,可以使用这种方法滚动 - 也没有出现滚动条.

According to the Apple iOS mantra it should be possible to scroll the contents of an IFRAME by dragging it with two fingers. Unfortunately running the latest version of iOS on the iPad I have yet to find a single website with an IFRAME that scrolls using this method - no scrollbars appear either.

有人知道用户应该如何使用移动版 Safari 滚动 IFRAME 的内容吗?

Does anyone know how a user is supposed to scroll the contents of an IFRAME with the mobile Safari?

推荐答案

iOS 5 添加了以下样式,可以添加到父 div 以便滚动工作.

iOS 5 added the following style that can be added to the parent div so that scrolling works.

-webkit-overflow-scrolling:touch

这篇关于iPad 上的 IFRAME 和 Safari,用户如何滚动内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆