http://www0.ccidnet.com/school/web/2001/04/30/70_4050.html

解决方案 »

  1.   

    function marquee1(){
    document.write("<marquee behavior=scroll direction=up width=160 height=150 scrollamount=1 scrolldelay=60 onmouseover='this.stop()' onmouseout='this.start()'>")
    }
    在调用这两个函数之间放置你要滚动的文字
    function marquee2(){
    document.write("</marquee>")
    }
      

  2.   

    <MARQUEE DIRECTION=RIGHT BEHAVIOR=SCROLL SCROLLAMOUNT=10 SCROLLDELAY=200>
    This is a scrolling marquee.
    </MARQUEE>