如何通过Javascript隐藏Add
我写了一个脚本,隐藏广告,但他们仍然在后台运行,但没有显示 我所需要的只是一点点帮助,通过它我可以解决这个问题如何通过Javascript隐藏Add,javascript,html,Javascript,Html,我写了一个脚本,隐藏广告,但他们仍然在后台运行,但没有显示 我所需要的只是一点点帮助,通过它我可以解决这个问题 <div> <div style="display:relative;height:600:width:300;overflow:hidden"> <div class="cfmonitor"> // in the area advertisement code will be posted </div> </div>
<div>
<div style="display:relative;height:600:width:300;overflow:hidden">
<div class="cfmonitor">
// in the area advertisement code will be posted
</div>
</div>
<script>
document.mouseover=function(e){
var x=e.pageX;
var y=e.pageY;
document.getElementById('fbb').style.top=(y-15) + 'px';
document.getElementById('fbb').style.top=(x-40) + 'px';
}
</script>
</div>
通过此添加在标题中运行。但显示我想隐藏,但它们仍应在后台运行写入位置:相对;而不是显示:相对
<div style="position:relative;height:600:width:300;overflow:hidden">
我不明白你的要求。这个代码片段与你的请求无关。请考虑重新制定你的问题。