在Internet Explorer中播放flash影片

时间:2021-11-15 17:12:21

The age old question... why the hell doesn't a div positioned over a flash object stay on top with z-index. I have found the answer in the past, but it's been so long, I can't seem to get it. My flash movie is in a div floating left:

年龄老问题…为什么不在flash对象上放置div用z-index保持在顶部?我在过去找到了答案,但时间太长了,我似乎无法理解。我的flash动画在一个div中左浮动:

<div id="flash">
<object width="614" height="289">
<param name="movie" value="images/75.swf">
<param name="wmode" value="transparent">
<embed src="images/75.swf" width="614" height="289" wmode"transparent">
</embed>
</object>
</div>

My css for the div that needs to be on top is:

我的css的div需要放在上面是:

.menu ul li:hover ul li a:hover {
background:#5a3f2d;
color:#FFF;
z-index: 9999;

I cannot get it to show above the flash movie in ie6 or ie8. I know this is old school but I'm frustrated! Does my nav div need to have an absolute position? Is that why it doesn't work?

我无法让它在ie6或ie8的flash动画中显示出来。我知道这是老学校,但我很沮丧!我的nav div需要一个绝对的位置吗?这就是它不起作用的原因吗?

Example is here. Hover over the first link on the right: "CUSTOMER SERVICE"

这里的例子是。将鼠标悬停在右边的第一个链接上:“客户服务”

Thanks all :)

感谢所有:)

4 个解决方案

#1


8  

Hope this will help you , please take a look on. http://manisheriar.com/blog/flash_objects_and_z_index

希望这对您有所帮助,请您看看。http://manisheriar.com/blog/flash_objects_and_z_index

#2


1  

I used the following and it worked for me.

我用了下面的方法,它对我很有效。

<param name="wmode" value="opaque" />

I found this solution at Why doesn't Z-Index in IE render the way it's supposed to over a Flash Movie?

我找到了这个解决方案,为什么IE中的Z-Index不能在Flash影片中呈现它应该呈现的方式?

#3


0  

I've seen many of these questions around and forums, but to let this clear, both options should be added in order to avoid from some versions to stop working:

我在网上和论坛上看到过很多这样的问题,但为了让大家清楚,应该添加这两个选项,以避免某些版本停止工作:

<param name="wmode" value="opaque" />

and

<embed wmode="opaque" src="...">

src: http://manisheriar.com/blog/flash_objects_and_z_index

src:http://manisheriar.com/blog/flash_objects_and_z_index

#4


-1  

It might help to give the parent container (the table) and/or sibling container (the other "td" tag) a z-index of 1

给父容器(表)和/或同级容器(另一个“td”标记)一个z索引1可能会有帮助

#1


8  

Hope this will help you , please take a look on. http://manisheriar.com/blog/flash_objects_and_z_index

希望这对您有所帮助,请您看看。http://manisheriar.com/blog/flash_objects_and_z_index

#2


1  

I used the following and it worked for me.

我用了下面的方法,它对我很有效。

<param name="wmode" value="opaque" />

I found this solution at Why doesn't Z-Index in IE render the way it's supposed to over a Flash Movie?

我找到了这个解决方案,为什么IE中的Z-Index不能在Flash影片中呈现它应该呈现的方式?

#3


0  

I've seen many of these questions around and forums, but to let this clear, both options should be added in order to avoid from some versions to stop working:

我在网上和论坛上看到过很多这样的问题,但为了让大家清楚,应该添加这两个选项,以避免某些版本停止工作:

<param name="wmode" value="opaque" />

and

<embed wmode="opaque" src="...">

src: http://manisheriar.com/blog/flash_objects_and_z_index

src:http://manisheriar.com/blog/flash_objects_and_z_index

#4


-1  

It might help to give the parent container (the table) and/or sibling container (the other "td" tag) a z-index of 1

给父容器(表)和/或同级容器(另一个“td”标记)一个z索引1可能会有帮助