window.onload=function(){ var right3=document.getElementById("top_right3") var oLi=document.getElementById("top_hidden") var aLi=oLi.getElementsByTagName("ul") var oSpan=right3.getElementsByTagName('span') right3.onmouseover=function() { startMove(400) } var timer=null; function startMove(Tag) { var oLi=document.getElementById("top_hidden") ? ? ? ? ? var aLi=document.getElementsByTagName("ul") clearInterval(timer) timer=setInterval(function() { ? ? ? ? ? var speed=(Tag-aLi.offsetTop)/10;? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? speed=speed>0?Math.ceil(speed):Math.floor(speed) ? ? ? ? ? ? ?aLi.style.top=aLi.offsetTop+speed+'px' },30) } ?}
我這個引用的js是不是有什么語法不對啊,求解答
慕粉4084340
2016-10-21 13:27:40