Android 移动设备上的 iframe 支持

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11389228/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 07:14:44  来源:igfitidea点击:

Iframe support on mobile

androidhtmlmobilejquery-mobilewindows-mobile

提问by Kunal Vashist

Is there are any ambiguity while using iFrame on the mobile devices? Does all mobile devices support iFrame.

在移动设备上使用 iFrame 时是否有任何歧义?是否所有移动设备都支持 iFrame。

采纳答案by Jigar Pandya

Ideally all mobile devices should support iFrame however situation can leads you to some known issues which are mentioned in below links.

理想情况下,所有移动设备都应支持 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 src="page-1.htm" name="test" height="120" width="600">You need a Frames Capable browser to view this content.</iframe>代码放入页面并在各种平台上进行测试。

Following are known issues.

以下是已知问题。

  1. iframe is not working android inbuild browser how can resolve issue?
  2. http://androidforums.com/android-applications/7101-android-browser-iframe-question.html
  3. http://www.sitepoint.com/forums/showthread.php?843814-Iphone-iframe-browser-crash-issue-anyone
  1. iframe 不工作 android inbuild 浏览器如何解决问题?
  2. http://androidforums.com/android-applications/7101-android-browser-iframe-question.html
  3. http://www.sitepoint.com/forums/showthread.php?843814-Iphone-iframe-browser-crash-issue-anyone

For alternate you can also try jQuery Cycleif that suits your requirements.

对于替代方案,如果满足您的要求,您也可以尝试jQuery Cycle