così funziona di sicuro

prova



codice:
<HTML>
<HEAD>
<TITLE>Esempi java script: esempio pratico </TITLE>

<script language="JavaScript">
<!-- begin
var max=0;
function textlist()
{
max=textlist.arguments.length;
for (i=0; i<max; i++)
this[i]=textlist.arguments[i];
}
tl=new textlist
(
"HTML.it",
"www.html.it",
"Il sito italiano sul Web publishing",
"Realizzazione e gestione siti Web"
);
var x=0; pos=0;
var l=tl[0].length;
function textticker()
{
document.getElementById('ticktd').innerHTML=tl[x].substring(0,pos); 
if(pos++==l) { pos=0; setTimeout("textticker()",1000); x++;
if(x==max) x=0; l=tl[x].length; } else
setTimeout("textticker()",120);
}
// end -->
</script>


</HEAD>

<BODY bgcolor="white" onLoad="textticker()">

<table border="1" width="100%">
	<tr>
		<td id="ticktd"></td>
	</tr>
</table>

</body>
</html>