我分别用[phomemorepic]1,5,5,90,90,1,14,1[/phomemorepic] 和 [phomenewspic]4,5,5,80,80,1,14,0[/phomenewspic] 替换以下“===此处添加ECMS调用图片的标签====” 都没滚动,不知问题出在哪儿?
<div id=demo style=overflow:hidden;height:33;width:500; background:#214984;color:#ffffff> <table align=left cellpadding=0 cellspace=0 border=0> <tr> <td id=demo1 valign=top> ===此处添加ECMS调用图片的标签====</td> <td id=demo2 valign=top></td> </tr> </table> </div> <script> var speed=30 demo2.innerHTML=demo1.innerHTML function 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>
|