POSUN TEXTU (3)

ID
Nazov / Name:
Popis / Description:
Dlzka / Length:
Testovane pod / Tested under:

 

075
p075.html / p075.zip
Efektny posun textu v stavovom riadku prehliadaca
962b
NN 4.04, IE 4.0

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<html> <head> <title> JavaScript DESTINATION - P075 </title> <script language="JavaScript"> <!-- var init_msg = "http://www.javascript.sk - A Vase stranky ovladnu Internet" var str = "" var msg = "" var leftmsg = "" function setMessage() { if (msg == "") { str = " " msg = init_msg leftmsg = "" } if (str.length == 1) { while (msg.substring(0, 1) == " ") { leftmsg = leftmsg + str str = msg.substring(0, 1) msg = msg.substring(1, msg.length) } leftmsg = leftmsg + str str = msg.substring(0, 1) msg = msg.substring(1, msg.length) for (var ii = 0; ii < 120; ii++) { str = " " + str } } else { str = str.substring(10, str.length) } window.status = leftmsg + str setTimeout('setMessage()',100) } // --> </script> </head> <body onload="setTimeout('setMessage()',100)"> </body> </html>
[ Navrat / BACK ]