home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip Hitware 7 A
/
CHIP_HITWARE_7A.iso
/
internet
/
Webmaster
/
_SETUP.4
/
Group3
/
stxt.jav
< prev
next >
Wrap
Text File
|
1998-12-30
|
2KB
|
128 lines
<!---BeginTitle--->Status bar scrolling text<!---BeginJAVHead---><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 by YOUR NAME HERE--THE DATE HERE
*/
function scrollit_r2l(seed)
{
var m1 = " FIRST LINE OF TEXT HERE ";
var m2 = " SECOND LINE OF TEXT HERE ";
var m3 = " THIRD LINE OF TEXT HERE ";
var msg=m1+m2+m3;
var out = " ";
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 BACKGROUND="#######" onLoad="timerONE=window.setTimeout('scrollit_r2l(10)',100);"><!---BeginJAVBody--->**** <h1>Note that you must use the body command found at the end of the HEAD section</h1>***<!--EndJAVBody-->