Search HouseOfScripts.com

 

All Scripts        JavaScripts        ASP Scripts        Other Scripts

 

  Scroll text Status Bar asp, send, email, cdonts, link, recordset, hyper, hyperlink, create, list, box, dependant, dynamic

You can see scrolling text on the buttom of this page. If you want to see this text scroll only once, click here.

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>

BODY:

<body onLoad="runtext(100)">

 

 


Home       Scripts       Active WebTools       Web Templates       Forum       Tools        Hosting       Questions/Comments       Add/Request