真正兼容IE浏览器和Mozilla Firefox浏览器的Flash特效代码

原创内容,转载请注明出处:http://www.myzhenai.com/thread-14998-1-1.html
网上公布的很多宣称可以完美兼容Flash特效的代码经过我测试,都是不完整的,要么支持Firefox不支持IE,要么支持IE不支持Firefox.总是有缺点.我干脆把两种代码溶合在一起,现在可以完整支持IE和Firefox了.将/flash.swf这里替换成你的文件路径,width设置成你需要的宽度,height设置成你的宽度就可以了,然后把代码复制粘贴到你需要的源文件里即可.

<object id="flashplay" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" name="flashrek"  width="1000" height="400" id="flashrek" style="left: 50%; margin-left:-350px; position: absolute; top: -5px">
<param name="movie" value="/flash.swf" />
<param name="wmode" value="transparent" />
<param name="quality" value="high" />
<embed src="/flash.swf" id="theflash" style="left: 50%; margin-left:-350px; position: absolute; top: -5px" align="right" width="1000" height="400" type="application/x-shockwave-flash" wmode="transparent" quality="high">
</embed>
</object>

sicnature ---------------------------------------------------------------------
Your current IP address is: 54.197.75.176
Your IP address location: 美国
Your IP address country and region: 美国 美国
Your current browser is:
Your current system is:
Original content, please indicate the source:
同福客栈论坛 | 海南仙岛海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
Welcome to reprint. Please indicate the source http://www.myzhenai.com.cn/post/740.html

Tags: , ,

Leave a Reply