css让div在flash之上解决方法
css教程让div在flash之上解决方法
ie和ff下有所不同。ie下如果要成功挡住,必须为上层标签加背景,否则无效。ff加不加背景都行。
a.showdetaillnk{position:absolute;top:0;left:0;width:220px;height:20px;z-index:100;opacity:0;background:#ffffff;filter:alpha(opacity=0);}
.flash_container{position:relative;}
<div class="flash_container">
<object style="visibility: visible;" id="sc_httpd_requestcount"
data="static/flash/chart/chart.swf" type="application/x-shockwave-flash" width="220" height="10">
<param value="opaque" name="wmode">
<param value="get-data=getdata&id=httpd_requestcount" name="flashvars">
</object>
<a title="点击查看明细" href="网页特效:void(0);" class="showdetaillnk"></a>
</div>