Home  >  Article  >  Web Front-end  >  如何让Flash不遮挡HTML div元素的技巧_HTML/Xhtml_网页制作_html/css_WEB-ITnose

如何让Flash不遮挡HTML div元素的技巧_HTML/Xhtml_网页制作_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:42:241386browse

今天在写一个flash广告代码的时候,因为flash自带的链接,容易被当成弹出广告,所以做了一个div层放到flash上面,这样链接都是a触发的不会被拦截,但发现flash一直处于div层上面,原来flash需要加个参数才可以。

让flash置于DIV层之下的方法,让flash不挡住飘浮层或下拉菜单,让Flash不档住浮动对象或层的关键参数:wmode=opaque。

方法如下:

针对IE 在内加上参数
针对FF 在内加上参数wmode="opaque"

脚本之家使用代码:


XML/HTML Code复制内容到剪贴板




22cn







如何让Flash不遮挡HTML div元素的技巧_HTML/Xhtml_网页制作_html/css_WEB-ITnose




Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn