|
HEAD Section:
<SCRIPT LANGUAGE="JavaScript";>
function runtext(runt) {
var m1 = "I want to welcome you to the House of Scripts!!!! ";
var m2 = "...... This is the test message!!!!!!!! ";
var m3 = "........I hope you'll like it!!!!! ";
var m4 = "..........You are welcome to use it!!!!!";
var m5 = "";
var msg=m1+m2+m3+m4+m5;
var out = " ";
var c = 1;
if (runt > 100) {
runt--;
cmd="runtext("+runt+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (runt <= 100 && runt > 0) {
for (c=0 ; c < runt ; c++) {
out+=" ";
}
out+=msg;
runt--;
window.status=out;
cmd="runtext("+runt+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (runt <= 0) {
if (-runt < msg.length) {
out+=msg.substring(-runt,msg.length);
runt--;
window.status=out;
cmd="runtext("+runt+")";
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("runtext(100)",75);
}
}
}
</SCRIPT>
|