移动设备上的 iframe 支持 [英] Iframe support on mobile
问题描述
在移动设备上使用 iFrame 时是否有任何歧义?是否所有移动设备都支持 iFrame.
Is there are any ambiguity while using iFrame on the mobile devices? Does all mobile devices support iFrame.
推荐答案
理想情况下,所有移动设备都应支持 iFrame,但情况可能会导致您遇到以下链接中提到的一些已知问题.
Ideally all mobile devices should support iFrame however situation can leads you to some known issues which are mentioned in below links.
你可以把<iframe src="page-1.htm" name="test" height="120" width="600">你需要一个支持Frames的浏览器来查看这个内容.<;/iframe>
在您的页面中编写代码并在各种平台上进行测试.
You can put <iframe src="page-1.htm" name="test" height="120" width="600">You need a Frames Capable browser to view this content.</iframe>
code in your page and test on various platform.
以下是已知问题.
- iframe 无法运行 android 内置浏览器如何解决问题?
- http://androidforums.com/android-applications/7101-android-browser-iframe-question.html
- http://www.sitepoint.com/forums/showthread.php?843814-Iphone-iframe-browser-crash-issue-anyone
对于替代方案,如果符合您的要求,您也可以尝试 jQuery Cycle.
For alternate you can also try jQuery Cycle if that suits your requirements.
这篇关于移动设备上的 iframe 支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!