发现Firefox 和IE是不同的,为了兼容,写出一下代码
<div id="pageName">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="776" height="257" title="想你" >
<param name="movie" value="27.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent">
<embed src="27.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="776" height="257"></embed>
</object>
</div>
上面两个黄色的,第一个是在IE里面用的,第二个是在Firefox里面用的, 真是的,害得我找了那么久。
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="776" height="257" title="想你" >
<param name="movie" value="27.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent">
<embed src="27.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="776" height="257"></embed>
</object>
</div>