代码问题[求助]
<!------本站公告--开始------------><div id=text style=overflow:hidden;height:154;width:175;padding-left:8px>
<div class="style9" id=text1>
<p class="style3">
通用网址: <span class="style9">详详细细细<br>
详详细细<br>
详详细细</span></p>
<p class="style3">
网络实名:<span class="style9"> 详详细细细 </span></p>
<p class="style3">中国总机: <span class="style9">详详细细细细细 转<br>
?????详详细细细</span><br>
</p>
</div>
<div id=text2></div>
</div>
<script>
var speed=50
text2.innerHTML=text1.innerHTML
function Marquee(){
if(text2.offsetTop-text.scrollTop<=0)
text.scrollTop-=text1.offsetHeight
else{
text.scrollTop++
}
}
var MyMar=setInterval(Marquee,speed)
text.onmouseover=function() {clearInterval(MyMar)}
text.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</script>
<!------本站公告--结束------------>
功能是想实现一个不间断的连续滚动,可滚动了一两圈后,就停止了,怎么解决?