在页面中有一个JS写的下拉菜单,其下面有一个FLASH,下拉菜单被FLASH遮挡,破坏界面,如何解决呢?
其实很简单,在嵌入FLASH的代码中添加<param name="wmode" value="opaque">即可。
示例代码:
<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="520" height="131">
<param name="movie" value="test.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<embed src="test.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="520" height="131"></embed></object>