gpt4 book ai didi

javascript - Flash 电影的 Div Z-Index 问题

转载 作者:太空狗 更新时间:2023-10-29 15:27:51 25 4
gpt4 key购买 nike

我有两个简单的 HTML div,一个包含 flash 电影,另一个 div 包含简单文本现在我的问题是我必须将文本 div 放到 flash 电影 div 我正在做的是在 CSS 中将两个 div 的位置设置为 Absolute并将 flash 电影 div 的 Z-Index 设置为 1,将文本 div 的 Z-Index 设置为 2,但文本在每种情况下都位于电影后面,但我必须将文本放在电影上,请在这方面帮助我,以便我文本可能会出现在 Flash 电影中。提前致谢。

最佳答案

这是一篇解释这个问题的博文

Flash content and z-index

使用

<param name="wmode" value="transparent"> 

来自 Flash OBJECT and EMBED tag attributes

wmode

可能的值:窗口、不透明、透明。为浏览器中的透明度、分层和定位设置 Flash 影片的窗口模式属性。

* 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.

关于javascript - Flash 电影的 Div Z-Index 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2040887/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com