方法一:
条件1.只适用于IE 4.0 或以上版本.
条件2.flash 和其他元素在不同的layers里,且Flash所在的层的z-index较低。
条件3.Flash 必须设定为背景透明。(wmode= transparent).
以上三项缺一不可。
<div style="z-index:-1">
<embed name="Movie1" src="1221.swf" quality="high"
width=500 height=400 wmode="transparent"
type="application/x-shockwave-flash">
</embed>
</div>
<div id="jnkcLayer" style="position:absolute; left:150px; top:100px; width:200px; height:200px; z-index:1; background-color: #009966; layer-background-color: #009966; border: 1px none #000000; visibility: visible"></div>
条件1.只适用于IE 4.0 或以上版本.
条件2.flash 和其他元素在不同的layers里,且Flash所在的层的z-index较低。
条件3.Flash 必须设定为背景透明。(wmode= transparent).
以上三项缺一不可。
<div style="z-index:-1">
<embed name="Movie1" src="1221.swf" quality="high"
width=500 height=400 wmode="transparent"
type="application/x-shockwave-flash">
</embed>
</div>
<div id="jnkcLayer" style="position:absolute; left:150px; top:100px; width:200px; height:200px; z-index:1; background-color: #009966; layer-background-color: #009966; border: 1px none #000000; visibility: visible"></div>
方法二:
在网页中插入flash代码中加入下面的代码:
<param name="wmode" value="transparent">
如果是插入的网页中的FLASH的话,要用到另一句:
document.write(’<param name="wmode" value="transparent"> ’);
另外的一种方法:
在<object>里加入这个参数,将FLASH置于底层,
<param name="wmode" value="Opaque">
<param name="wmode" value="transparent">
如果是插入的网页中的FLASH的话,要用到另一句:
document.write(’<param name="wmode" value="transparent"> ’);
另外的一种方法:
在<object>里加入这个参数,将FLASH置于底层,
<param name="wmode" value="Opaque">
如<object
type="application/x-shockwave-flash" data="shouye/fix_imgs/ad/tlbb_250x74_110720.swf"
><param name="movie" value="shouye/fix_imgs/ad/tlbb_250x74_110720.swf" /><param name="wmode" value="Opaque"></object>