总数:26 首页上一页下一页尾页 页次:2/2

报考指南
Copyright@电子科技大学留学预科班All Rights Reserved
全国统一免费咨询: 400-005-2500
地址:四川省成都市一环路东一段251号电子科技大学(沙河校区)
400-005-2500
document.write("
×关闭
"); function setNone(str_fd){str_fd.style.display="none"; } var x = 20,y = 20 var xin = true, yin = true var step = 2 var delay = 100;//设置滚动时间 var obj=document.getElementById("fudong01") function floatAD() { var L=0; var T=0; var cw=document.documentElement.clientWidth||document.body.clientWidth; var ch=document.documentElement.clientHeight||document.body.clientHeight;//处理浏览器对document.body的兼容问题 var R= (cw-obj.offsetWidth)/2 var B = ch-obj.offsetHeight; y++; var atop = 0; obj.style.left = x + document.body.scrollLeft + "px"; if(document.documentElement.scrollTop == 0){ atop = document.body.scrollTop; }else{ atop = document.documentElement.scrollTop } obj.style.top = y + atop + "px" 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,20133321982529) } obj.onmouseout=function(){itl=setInterval("floatAD()", delay,20133321982529) }