Depois de encontrá -lo por um longo tempo, finalmente encontrei um adequado.
Copie o código do código da seguinte forma:
<!
<html xmlns = "http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv = "content-type" content = "text /html; charset = gb2312" /> />
<title> Picture Rolling </title>
</head>
<Body>
<Style type = "text/css">
<!-
#Demo {
Antecedentes: #FFF;
estouro: oculto;
Border: 1px tracejado #CCC;
Largura: 500px;
}
#Demo img {
borda: 3px sólido #f2f2f2;
}
#Indemo {
Flutuar: esquerda;
Largura: 800%;
}
#Demo1 {{
Flutuar: esquerda;
}
#Demo2 {{
Flutuar: esquerda;
}
->
</style>
<div id = "Demo">
<div id = "Indemo">
<div id = "Demo1">
<A href = "#"> <img src = "/jscss/demoimg/wall_s1.jpg"/> </a>
<A href = "#"> <img src = "/jscss/demoimg/wall_s2.jpg"/> </a>
<a href = "#"> <img src = "/jscss/demoimg/wall_s3.jpg"/> </a>
<a href = "#"> <img src = "/jscss/demoimg/wall_s4.jpg"/> </a>
<A href = "#"> <img src = "/jscss/demoimg/wall_s5.jpg"/> </a>
<A href = "#"> <img src = "/jscss/demoimg/wall_s6.jpg"/> </a>
</div>
<div id = "Demo2"> </div>
</div>
</div>
<Cript>
<!-
varulado = 10;
var tab = document.getElementById ("Demo");
var tab1 = document.getElementById ("Demo1");
var tab2 = document.getElementById ("Demo2");
tab2.innerhtml = tab1.innerhtml;
Função de marquise () {
if (tab2.offsetWidth-tab.scrollleft <= 0)
Tab.ScrollLeft- = tab1.offsetWidth
outro {
tab.ScrollLeft ++;
}
}
var myMar = setInterval (marquise, velocidade);
tab.onMouseOver = function () {ClearInterval (myMar)};
tab.onMouseOut = function () {myMar = setInterval (marquise, velocidade)};
->
</script>
</body>
</html>