JavaScript - The Scrolling Ticker
Okay, folks. Here it is. Highlight the entire code, copy and paste it to your document right after the <body> tags and go for it! Make sure, though, that you replace the red areas where you want your own message.
<!--* * * * * * * * * * * * * * * * * * * * * *-->
<SCRIPT LANGUAGE="JavaScript">
<!-- Beginning of JavaScript Applet ------------------->
/* Copyright (C)1996 Web Integration Systems, Inc. DBA Websys, Inc.
All Rights Reserved. This applet can be re-used or modified, if credit is given in
the source code. We will not be held responsible for any unwanted effects due to the
usage of this applet or any derivative. No warrantees for usability for any specific
application are given or implied. Chris Skinner, January 30th, 1996.
Hacked for CNNfn by RD, Jan. 31, 1996
*/
function scrollit_r2l(seed)
{
var m1 = "TYPE IN YOUR MESSAGE HERE.... ";
var m2 = "TYPE IN MORE STUFF HERE..... ";
var m3 = "TYPE IN EVEN MORE STUFF HERE!...... ";
var msg=m1+m2+m3;
var out = "WELCOME TO MY PAGE! || ";
var c = 1;
if (seed > 100) {
seed--;
var cmd="scrollit_r2l(" + seed + ")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
var cmd="scrollit_r2l(" + seed + ")";
window.status=out;
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
var cmd="scrollit_r2l(" + seed + ")";
window.status=out;
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit_r2l(100)",75);
}
}
}
// -- End of JavaScript code -------------- -->
</SCRIPT>
<BODY ONLOAD="timerONE=window.setTimeout('scrollit_r2l(100)',500);">
TOP OF PAGE
<BACK
I know my domain is in good hands with:
The Internet Connection
Page and graphics Design by: Windy's Web Design
Copyright © 1996 - All Rights Reserved