为什么我的Flash动画覆盖我的div位置? [英] Why is my Flash animation overlaying my div position?

查看:175
本文介绍了为什么我的Flash动画覆盖我的div位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我使用FancyBox来产生弹出式图像。


弹出一个 $ z-index:92;



运行的Flash动画远远低于 z-index



我的问题是在两个不同的Firefox浏览器(相同的版本)我有不同的结果。



其中之一,一切似乎确定。另一方面,Flash动画出现在 div 之前。我已经尝试刷新和重新启动浏览器,但同样的问题总是会发生。

我知道其中一个屏幕截图是从IE浏览器,但它只是作为参考。 / p>

我能做什么错?

http://www.my-clock.net/tmp/sreen01.jpg



alt text http://www.my-clock.net/tmp/sreen02。 jpg

解决方案

尝试在flash上​​设置wmode = transparent。这样可以防止闪存覆盖所有内容,而不管你设置了哪个z-index。

I am using FancyBox to generate a popup image.

FancyBox (In case you are curious.)

It pops up a div with z-index: 92;.

I have a Flash animation running which is far below that z-index.

My problem is that in two different Firefox browsers (same versions) I have different results.

In one, everything appears OK. In the other, the Flash animation appears in front of the div. I have tried refreshing and restarting the browser but the same issue always occurs.

I know one of the screen shots is from IE but it is only meant as a reference.

What could I be doing wrong?

http://www.my-clock.net/tmp/sreen01.jpg

alt text http://www.my-clock.net/tmp/sreen02.jpg

解决方案

Try setting your wmode = transparent on the flash. This will keep flash from laying over top of everything no matter what z-index you set it to.

这篇关于为什么我的Flash动画覆盖我的div位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆