Commit efddeeb9 authored by zhengke's avatar zhengke

s

parent cae321dd
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
demo2.innerHTML = document.getElementById("demo1").innerHTML; demo2.innerHTML = document.getElementById("demo1").innerHTML;
function Marquee() { function Marquee() {
if (demo.scrollLeft - demo2.offsetWidth >= 0) { if (demo.scrollLeft - demo2.offsetWidth >= 100) {
//demo.scrollLeft -= demo1.offsetWidth; //demo.scrollLeft -= demo1.offsetWidth;
clearInterval(myvar); clearInterval(myvar);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment