覆盖HTML的Flash? [英] overlay html over flash?
本文介绍了覆盖HTML的Flash?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能覆盖一个HTML片段的Flash动画给这个上下文:
-flash下面的内容是不可点击的
-html将包含js链接点击将打开一个iframe弹出类似于: http://www.dynamic-tools.net/toolbox/popUp/
Is it possible to overlay a piece of html over a flash animation given this context: -flash contents underneath is NOT clickable -html will contain js link clicking which will open an iframe popup similar to: http://www.dynamic-tools.net/toolbox/popUp/
感谢!
推荐答案
向嵌入
标记添加 wmode =transparent
标签,如下所示:
It is not standards-compliant, but try adding wmode="transparent"
to the embed
tag as follows:
<object>
<!-- ... -->
<param name="wmode" value="transparent"/>
<embed src="flash_file.swf" wmode="transparent"></embed>
<!-- ... -->
</object>
设置这些参数后,Flash影片应该符合CSS z-index设置。
With these parameters set, the flash movie should obey CSS z-index settings.
这篇关于覆盖HTML的Flash?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文