DIV层被Flash遮挡的解决办法
潜水7,387人前有《DIV层被JS幻灯片遮挡住的解决办法》,现有DIV层又被Flash给遮挡住了!!
解决方法:
设置Flash置底,加句代码 :<param name="wmode" value="opaque" /> ,但此代码只能在IE下生效,还要在 <embed > 标签里添加 wmode="opaque" ,才能让Firefox等生效,完整代码如下:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=" width="600″ height="248″> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="test.swf"> <param name="quality" value="high"> <param name="wmode" value="Opaque"> <embed src="test.swf" wmode="Opaque" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600″ height="248″></embed> </object>