Реклама на сайте

<SCRIPT LANGUAGE="JavaScript">

// Keep the follwing line down when you use this script
// Found at the Javascript Libary http://jslibrary.phiberoptix.com
// More scripts are available there

var text = "Оригинальное сообщение!";

var total_length = 120; // length of string+spaces



function doShoot(msg) {

var status_message = "";

var assembling = "";

window.status = status_message

var index = 0;

var location = 0, i;

// now shoot one letter at a time

for(i=0; i < msg.length; i++) { // moves through the message

for(j=total_length-status_message.length; j > -1;j--) {

// see how many spaces have to be added

assembling = " ";

for(var k=0; k < j; k++) {

assembling += " ";

}
assembling += msg.charAt(i);

window.status = status_message +assembling


}

status_message += assembling;

}

}

doShoot(text);

</SCRIPT>