<head> <title>Scrollende tekst i procesbaren</title> <script type="text/javascript"> <!-- Dette script og mange flere --> <!-- findes hos http://www.html.dk --> <!-- Start function scrolltekst(count) { var msg = "Din tekst her"; var out = " "; var c = 1; if (count > 100) { count--; cmd="scrolltekst("+seed+")"; timerTwo=window.setTimeout(cmd,100); } else if (count <= 100 && count > 0) { for (c=0 ; c < count ; c++) { out+=" "; } out+=msg; count--; window.status=out; cmd="scrolltekst("+count+")"; timerTwo=window.setTimeout(cmd,100); } else if (count <= 0) { if (-count < msg.length) { out+=msg.substring(-count,msg.length); count--; window.status=out; cmd="scrolltekst("+count+")"; timerTwo=window.setTimeout(cmd,100); } else { window.status=" "; timerTwo=window.setTimeout("scrolltekst(100)",75); } } } // Slut --> </script> </head> <body onload="scrolltekst(100)"> </body> </html>