网页中层或菜单被Flash挡住的解决办法
网页层或菜单经常被flash盖住部分看不到,影响美观,在flash代码中加入以下代码:
<param name="wmode" value="Opaque">
即可解决被flash遮挡看不到图层或菜单的问题了.
下面是代码例子,加入红色部分:
OBJECT代码:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="350" height="150">
<param name="movie" value="ntc.com.cn.swf">
<param name="quality" value="high">
<param name="wmode" value="Opaque">
<embed src="webjxcom.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="350" height="150"></embed>
</object>
EMBED代码:
<EMBED src="webjxcom.swf" width"=500" height="300" type="application/octet-stream" quality="high" wmode="Opaque">