I've been trying to add a swf over a swf on a html page, it's working fine in Firefox, but in IE, the one that's added first is always on top of the other one. I used z-index but it's not working, does anyone know how to solve this? Thanks.
我一直试图在一个html页面上添加一个swf over swf,它在Firefox中运行良好,但在IE中,首先添加的那个总是在另一个上面。我使用z-index但是它不起作用,有谁知道如何解决这个问题?谢谢。
I already added wmode:transparent, it is working in firefox but not in IE 6.
我已经添加了wmode:transparent,它在firefox中运行但在IE 6中没有。
3 个解决方案
#1
0
Add wmode=transparent
to your movie parameters.
将wmode = transparent添加到电影参数中。
#2
0
Use a background iframe...Here is a nice jquery plugin to handle it for you.
使用背景iframe ...这是一个很好的jquery插件来处理它。
#3
0
In order for z-index to work on a given element in a page, this element must be positioned with position: absolute
or position: relative
. You also need to set the wmode
parameter to transparent
to allow the browser to position the flash content below other elements in a page.
为了使z-index能够处理页面中的给定元素,必须使用position:absolute或position:relative来定位此元素。您还需要将wmode参数设置为transparent,以允许浏览器将Flash内容定位在页面中的其他元素下方。
#1
0
Add wmode=transparent
to your movie parameters.
将wmode = transparent添加到电影参数中。
#2
0
Use a background iframe...Here is a nice jquery plugin to handle it for you.
使用背景iframe ...这是一个很好的jquery插件来处理它。
#3
0
In order for z-index to work on a given element in a page, this element must be positioned with position: absolute
or position: relative
. You also need to set the wmode
parameter to transparent
to allow the browser to position the flash content below other elements in a page.
为了使z-index能够处理页面中的给定元素,必须使用position:absolute或position:relative来定位此元素。您还需要将wmode参数设置为transparent,以允许浏览器将Flash内容定位在页面中的其他元素下方。