在iPhone上滚动iframe'不起作用
Scroll iframe on iPhone doesn't work
我知道有很多例子显示了这个问题,但我尝试了所有的方法,我的iframe无法在iPhone上滚动。
我有这个代码:
<div id="content">
<div id="header"><div>
<div id="container_iframe">
<iframe id ="external_content_iframe"></iframe>
</div>
</div>
带有CSS
#container_iframe
{
width: 100%;
height: 88%;
z-index: 1001;
margin: auto;
left: 0;
top: 55px;
right: 0;
bottom: 0;
overflow-y:scroll !important;
-webkit-overflow-scrolling:touch !important;
}
#external_content_iframe
{
width: 100%;
height: 100%;
z-index: 1001;
margin: auto;
left: 0;
right: 0;
bottom: 0;
top:15%;
}
你能帮我吗?
请参阅这些问题,他们可能有你想要的答案/解释:
问题1
问题2
相关文章:
- 从子级(iframe)到父级的跨域通信不起作用
- iframe中的jQuery查找元素不起作用
- 如果iframe在src(pdf或text)中有非html文档,则iframe中的onload不起作用
- iframe resizer内部的锚点链接不'不起作用
- 我需要一种自动调整iframe大小的方法,无论我查到什么,它都不起作用
- 占位符属性嵌入IE中的iframe时不起作用
- jQuery道具在iframe中不起作用
- Iframe加载动画不起作用
- 将IFrame滚动到顶部在Chrome中不起作用
- Iframe滚动溢出隐藏在css中不起作用
- iframe高度100%不起作用
- document.ready函数在iframe内不起作用
- 火狐浏览器 iframe 设计模式不起作用
- 插入内容后,Iframe 中的单击处理程序不起作用
- Cordova iframe在iOS Safari中工作,但在Android中不起作用
- 在 iFrame 中滚动事件侦听器在 iOS 上不起作用
- Javascript:在页面加载时打印iframe的内容不起作用
- 在第二次加载时更改 iframe 样式,在 Internet Explorer 9 中不起作用
- 为什么我的 iframe 标签不起作用
- PhoneGap中的postMessage不起作用-iframe到父消息