Русский
<!-- bbs http://www.downcodes.com/bbs--> <!-- 把下列代码加到<body>区域内 --> <base href="http://www.downcodes.com "> <div id=demo style=overflow:hidden;height:33;width:200;background:#214984;color:#ffffff> <table align=left cellpadding=0 cellspace=0 border=0> <tr> < td id=demo1 valign=top><img src="/img/link.gif"><img src="/img/link1.gif"><img src="/img/link2.gif"><img src ="/img/link3.gif"> </td> <td id=demo2 valign=top></td> </tr> </table> </div> <script> var Speed=30 demo2.innerHTML= функция demo1.innerHTML Marquee(){ if(demo2.offsetWidth-demo.scrollLeft<=0) demo.scrollLeft-=demo1.offsetWidth else{ demo.scrollLeft++ } } var MyMar=setInterval(Marquee,speed) demo.onmouseover=function () {clearInterval(MyMar)} demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)} </script>