您的位置:首页 > 编程语言

IE,firefox中的flash背景透明代码

2012-03-09 00:00 218 查看
今天同事做网站时无意中发现在ie下透明的flash在firefox下却不透明了,于是在网上查了一下发现
在ie中加这样一句代码<param name="wmode" value="transparent">就可以了
但是这句代码在firefox中不兼容,在Mozilla,Firefox浏览器中起作用的是这个标签
<embed></embed>
在<embed>标签内加入属性 wmode="transparent" 就可以实现flash背景透明,如
<embed src="iefirefox.swf" wmode="transparent" quality="high"></embed>

$(document).ready(function(){dp.SyntaxHighlighter.HighlightAll('code');});

原文链接:
http://blog.csdn.net/vince6799/article/details/4045234
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: