Chrome浏览器与z-index和flash的特定问题 [英] Chrome specific issue with z-index and flash

查看:152
本文介绍了Chrome浏览器与z-index和flash的特定问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让一个绝对定位的DIV显示在Flash对象前面;我可以在除Chrome以外的每个浏览器中使用此工具。



这里有几个类似的问题,但没有涉及Chrome的问题。我已经尝试了几个建议的解决方案,例如将'wmode'参数设置为'transparent',并为flash对象和div设置z-index,但似乎没有任何效果。



观看此行动:

www.mapcrunch.com



有一些绿色文字:点击此处开始,它应该出现在街景视图全景图的前面。在Chrome中,您可以看到DIV出现在正确的位置,但被Flash对象消除。



这个问题让我感到非常紧张,任何建议都会非常感谢。

解决方案

其实,你看过其他'wmode'吗?我认为还有一个正常的值,如果我没有记错的话,就会将Flash对象放在当前容器中的一个图层上(比如它应该:P)。



所以,只要确保它在它自己的DIV标签内,并且也有一个z-index设置即可。



HTML Flash嵌入并不是我每天所做的基础上(甚至在Chrome中测试的更少),但希望这会带来一些亮点。

I'm trying to get an absolutely positioned DIV to display in front of a Flash object; I can get this to work in every browser except Chrome.

There are a couple of similar questions on here, but nothing pertaining to a problem with Chrome specifically. I've tried several of the suggested solutions, such as setting the 'wmode' param to 'transparent', and setting z-indexes for both the flash object and the div, but nothing seems to work.

To see this in action:

www.mapcrunch.com

There is some green text: "Click here to begin", which should appear in front of the Street View panorama. In Chrome, you can see that the DIV appears in the correct position, but is then obliterated by the Flash object.

This issue is driving me nuts, and any advice would be greatly appreciated.

解决方案

Actually, have you looked at the other 'wmode' available? I think there's a "normal" value too, which if I recall correctly will set your Flash object flat on a layer (like it should :P) in its current container.

So just make sure its within it's own DIV tag too and has a z-index setup as well.

HTML Flash embedding ain't really something I do on a daily basis (even less tested in Chrome) but hopefully this will shed some light.

这篇关于Chrome浏览器与z-index和flash的特定问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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