浮动广告用flash怎么显示关闭层 浮动广告层中插入的是flash,在浮动广告上插入关闭层,不显示,怎么能显示关闭层? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 function closeDiv(){ document.getElementById("leftDiv").style.display='none'; document.getElementById("closeDiv").style.display='none';}function inix( ){ advInitTop=advInitTop+document.getElementById("leftDiv").style.pixelTop; advcloseTop=advcloseTop+document.getElementById("closeDiv").style.pixelTop; }function move(){ document.getElementById("leftDiv").style.pixelTop=advInitTop+document.body.scrollTop; document.getElementById("closeDiv").style.pixelTop=advcloseTop+document.body.scrollTop;}window.onscroll=move</script></head><body><div id="leftDiv" style="position:absolute; width:121px; height:115px; z-index:1; left: 58px; top: 28px;"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="120" height="450"> <param name="movie" value="images/div2.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" />//要加上这句话 才行 <embed src="images/div2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="120" height="450" style="overflow:hidden; z-index:1; "></embed> </object></div> <div id="closeDiv" style="position: absolute; width: 35px; height: 23px; z-index: 4; left: 148px; top: 42px;"><a href="javascript:closeDiv()" style=" color: red;text-decoration:none;"> </a></div><div> 如何侦听triggerfield的回车事件? 各位大侠问一下,下面的程序有什么错无没有,为什么会打不到预期效果 你能把这个乱码还原为“鹿鼎记”吗? bgsound src 值自动切换(第一首歌曲放完自动切换到第二首歌曲) 窗口显示文字的问题还未解决! 如何用javascript在页面之间传递参数 菜鸟求助,表单验证的问题~~ 关于鼠标右键菜单的问题 有没有办法让弹出的提示窗在任务栏里新建任务。 『难题, 求解』IE通过域名访问网站,JS运行出现问题, 有IP直接访问是可以正常显示的 extjs树右键菜单问题 如何用javascript将input type='text'变成select
document.getElementById("leftDiv").style.display='none';
document.getElementById("closeDiv").style.display='none';
}
function inix( ){
advInitTop=advInitTop+document.getElementById("leftDiv").style.pixelTop;
advcloseTop=advcloseTop+document.getElementById("closeDiv").style.pixelTop;
}
function move(){
document.getElementById("leftDiv").style.pixelTop=advInitTop+document.body.scrollTop;
document.getElementById("closeDiv").style.pixelTop=advcloseTop+document.body.scrollTop;
}
window.onscroll=move
</script>
</head><body>
<div id="leftDiv" style="position:absolute; width:121px; height:115px; z-index:1; left: 58px; top: 28px;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="120" height="450">
<param name="movie" value="images/div2.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />//要加上这句话 才行 <embed src="images/div2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="120" height="450" style="overflow:hidden; z-index:1; "></embed>
</object>
</div>
<div id="closeDiv" style="position: absolute; width: 35px; height: 23px; z-index: 4; left: 148px; top: 42px;"><a href="javascript:closeDiv()" style=" color: red;text-decoration:none;"> </a></div>
<div>