Originariamente inviato da Genovesestudios
dovrebbe cambiare il titolo ogni tot di tempo....ci sono errori?
puoi aiutarmi? graziecodice:<html> <head> <script type="text/javascript" language="JavaScript"> <!-- var speed = 3000; var curTitle = 0; var titles = new Array( ); titles[titles.length] = "uno"; titles[titles.length] = "due"; titles[titles.length] = "tre"; titles[titles.length] = "quattro"; titles[titles.length] = "cinque"; // ... titles[titles.length] = "n-esimo"; function animateTitle( ) { if ( curTitle > titles.length-1 ) curTitle = 0; document.title = titles[ curTitle++ ]; window.setTimeout( "animateTitle( );", speed ); } //--> </script> </head> <body onload="animateTitle( );" > ... </body> </html>



Rispondi quotando