Simplemodal 与 IE 和 Iframe

发布于 2024-08-15 01:20:17 字数 368 浏览 4 评论 0原文

首先感谢 Eric MArtin 的 SimpleModal。

我已经开始在mac环境下使用它进行开发。当我加载到托管服务器,然后在 IE 中检查结果时,覆盖层完全忽略了页面中嵌入的 iframe。看起来 iframe 的 Zindex 比页面上的其他任何内容都高,所以我检查了。首先,simplemodal 在 Safari 和 Opera 中运行良好,并且所有内容都正确分层。然而,在 Firefox 和 IE 中(使用 7 和 8 来检查),iframe 没有被覆盖。

我还将 zindex 属性设置为 9000 进行检查。无所事事。我已经研究了 simplemoda、网络等,但无法获得任何有关可用于克服它的 CSS 属性的提示。

任何人对正在发生的事情有任何想法。

First of all thanks to Eric MArtin for SimpleModal.

I've started using it developing in mac environment. When i loaded to my hosting server and then checked the results in IE, the overlay completely ignores the embedded iframe in my page. It appears as if the iframe has a higher Zindex than anything else on the page, so i checked. Well firstly simplemodal works fine in Safari and Opera and everything is layered correctly. However in Firefox and IE (using 7 and 8 to check) the iframe is not overlayed.

I also set the zindex property to 9000 to check. Nothing doing. I've dug around simplemoda, the net etc and cannot get any hints on CSS properties that might be used to overcome it.

Any ideas on what is happening anyone.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

请帮我爱他 2024-08-22 01:20:17

海乔治,

您好,我认为在 IE6 中,顶部和左侧可能存在某种大小或百分比或 zindex 问题。在 IE7 中,值应该大于 IE6。因此请更改值。如果您指定要弹出的 top、left 或 z-index 属性,即使您滚动,弹出窗口也不会滚动

Hai George,

HI I Think in IE6 it might be some size or percentage for top and left or zindex issue.In IE7 value should be more than IE6.So change the values. If u specify the top,left or z-index property to popup even if u scroll also the popup will not scroll

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文