<divid=_top1><imgsrc="插入需要滚动的图片"><imgsrc="插入需要滚动的图片"><imgsrc="插入需要滚动的图片"><imgsrc="插入需要滚动的图片"><imgsrc="插入需要滚动的图片"></div><divid=_top2></div></div><script>varspeed==//_top2functionMarquee1(){//_top2交界时if(-<=0)-=//_top跳到最顶端else{++;}}varMyMar1=setInterval(Marquee1,speed)//设置定时器//=function(){clearInterval(MyMar1)}//=function(){MyMar1=setInterval(Marquee1,speed)}</script><!--向上滚动代码结束--><br><!--下面是向下滚动代码--><divid=_bottomstyle=overflow:hidden;height:100;width:90;><divid=_bottom1><imgsrc="插入需要滚动的图片"><imgsrc="插入需要滚动的图片"><imgsrc="插入需要滚动的图片"><imgsrc="插入需要滚动的图片"><imgsrc="插入需要滚动的图片"></div><divid=_bottom2></div></div><script>varspeed===(){if(->=0)+={--}}varMyMar2=setInterval(Marquee2,speed)=function(){clearInterval(MyMar2)}=function(){MyMar2=setInterval(Marquee2,speed)}</script><!--向下滚动代码结束--><br><!--下面是向左滚动代码--><divid="_left"style="overflow:hidden;width:500px;"><tablecellpadding="0"cellspacing="0"border="0"><tr><tdid="_left1"valign="top"align="center"><tablecellpadding="2"cellspacing="0"border="0"><tralign="center"><td><imgsrc="<imgsrc="插入需要滚动的图片"></td
网页制作滚动代码 来自淘豆网m.daumloan.com转载请标明出处.