首页漂浮广告老是被flash遮住

2016-07-07 15:41 来源:www.chinab4c.com 作者:ecshop专家

www.easybuy.mobi

首页的漂浮广告老是被flash遮住,怎么才能不被遮住呢

这是我的漂浮代码

<<div id="ad" style="position:absolute">
<a href="http://www.easybuy.mobi/category.php?id=10" target="_blank">
<img src="http://www.easybuy.mobi/themes/joyo25/images/123.gif" border="0">
</a></div>
<script>
var x = 20,y = 20
var xin = true, yin = true
var step = 1
var delay = 10
var obj=document.getElementById("ad")
function floatAD() {
var L=T=0
var R= document.body.clientWidth-obj.offsetWidth
var B = document.body.clientHeight-obj.offsetHeight
obj.style.left = x + document.body.scrollLeft
obj.style.top = y + document.body.scrollTop
x = x + step*(xin?1:-1)
if (x < L) { xin = true; x = L}
if (x > R){ xin = false; x = R}
y = y + step*(yin?1:-1)
if (y < T) { yin = true; y = T }
if (y > B) { yin = false; y = B }
}
var itl= setInterval("floatAD()", delay)
obj.onmouseover=function(){clearInterval(itl)}
obj.onmouseout=function(){itl=setInterval("floatAD()", delay)}
</script>


求解答

回答:
为什么管理员老是不回答我问题啊??

本版块不涉及程序修改和模板美化
您的问题,您可以发布到模板美化版块