IE-8 iframe和flash对象忽略了z-index?(IE-8 iframe and flash object ignores z-index?)
我有以下div,我正在尝试在my_flash前面制作iframe层。 这是一个常见的问题,我已经阅读了我能找到的所有解决方案,但我仍然在IE8中遇到问题。 顺便说一下,我正在使用SWFobject。
这是来源:
<script type="text/javascript"> swfobject.embedSWF("index.swf", "my_flash", "100%", "100%", "8.0.0"); swffit.fit("my_flash",900,650); </script> <div id="my_flash" style="z-index:1;"></div> <div style="border:none; overflow:hidden; width:50px; height:21px; z-index:9999; position: absolute; bottom: 5px; left: 110px;" > <iframe src="http://www.facebook.com/plugins/like.php?blah.html" scrolling="no" frameborder="0" allowTransparency="true" style="z-index:9998"/> </div>
I have the following divs and I'm trying to make the iframe layer infront of my_flash. It's a common problem and I've read through all the solutions I could find and still I'm getting issues in IE8. I'm using SWFobject by the way.
Here's the source:
<script type="text/javascript"> swfobject.embedSWF("index.swf", "my_flash", "100%", "100%", "8.0.0"); swffit.fit("my_flash",900,650); </script> <div id="my_flash" style="z-index:1;"></div> <div style="border:none; overflow:hidden; width:50px; height:21px; z-index:9999; position: absolute; bottom: 5px; left: 110px;" > <iframe src="http://www.facebook.com/plugins/like.php?blah.html" scrolling="no" frameborder="0" allowTransparency="true" style="z-index:9998"/> </div>
原文:https://stackoverflow.com/questions/6242034
更新时间:2022-06-18 16:06