Flash 电影的 Div Z-Index 问题 [英] Div Z-Index issue with Flash movie
问题描述
我有两个简单的 HTML div,一个包含 flash 电影,另一个 div 包含简单的文本,现在我的问题是我必须将文本 div 放在 flash 电影 div 上,我正在做的是在 CSS 中将两个 div 的位置设置为 Absolute并将 Flash 电影 div 的 Z-Index 设置为 1,将文本 div 的 Z-Index 设置为 2,但文本在任何情况下都在电影后面,但我必须将文本放到电影上,请在这方面帮助我,以便我的文字可能会出现在 Flash 影片上.提前致谢.
I have two simple HTML divs one contains flash movie and another div contains simple text now my problem is that i have to put textual div onto the flash movie div what i am doing is setting the position of both divs to Absolute in CSS and setting the Z-Index of flash movie div to 1 and Z-Index of textual div to 2 but the text is coming behind the movie in every case but i have to put text onto movie, please help me in this regards so that my text may appear onto the flash movie. Thanks in advance.
推荐答案
这是一篇解释这个问题的博文
Here is a blog post that explains this issue
使用
<param name="wmode" value="transparent">
From Flash OBJECT and EMBED tag attributes
wmode
可能的值:窗口、不透明、透明.设置 Flash 影片的 Window Mode 属性以在浏览器中进行透明度、分层和定位.
Possible values: window, opaque, transparent. Sets the Window Mode property of the Flash movie for transparency, layering, and positioning in the browser.
* window - movie plays in its own rectangular window on a web page.
* opaque - the movie hides everything on the page behind it.
* transparent - the background of the HTML page shows through all
transparent portions of the movie, this may slow animation performance.
这篇关于Flash 电影的 Div Z-Index 问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!