复代码 代码如下: /" title="<%#Eval("Title")%>">< img src='/<%#Eval("Pic") %>' width="130" height="97" /> <%#Eval("Title") %> <br>var 속도 = 20; <br>var tab = document.getElementById("demo"); <br>var tab1 = document.getElementById("demo1"); <br>var tab2 = document.getElementById("demo2"); <br>tab2.innerHTML = tab1.innerHTML; <br>function Marquee() { <br>if (tab2.offsetWidth - tab.scrollLeft <= 0) <BR>tab.scrollLeft -= tab1.offsetWidth <BR>else { <BR>tab.scrollLeft ; <BR>} <BR>} <BR>var MyMar = setInterval(Marquee, speed); <BR>tab.onmouseover = function () {clearInterval(MyMar) }; <BR>tab.onmouseout = function () { MyMar = setInterval(Marquee, speed) }; <BR>