1个回答
展开全部
<div id="demob" align="center" onmouseover="ij=1" style="border:0px solid gray;OVERFLOW: hidden; HEIGHT: 570px; width:193px " onmouseout="ij=0">
<div id="demob1">
</div>
<div id="demob2"></div>
</div> <SCRIPT>
var ij=0;t=demob.scrollTop
demob2.innerHTML=demob1.innerHTML
function qswhMarquee2(){
if (ij==1)return
if(demob2.offsetTop-demob.scrollTop<=0)
demob.scrollTop-=demob1.offsetHeight
else
demob.scrollTop++
}
setInterval(qswhMarquee2,50)
</SCRIPT>
自己研究。懒得解释了
<div id="demob1">
</div>
<div id="demob2"></div>
</div> <SCRIPT>
var ij=0;t=demob.scrollTop
demob2.innerHTML=demob1.innerHTML
function qswhMarquee2(){
if (ij==1)return
if(demob2.offsetTop-demob.scrollTop<=0)
demob.scrollTop-=demob1.offsetHeight
else
demob.scrollTop++
}
setInterval(qswhMarquee2,50)
</SCRIPT>
自己研究。懒得解释了
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询