home *** CD-ROM | disk | FTP | other *** search
-
- <!-- Start Status scrolling, enter in Head tag -->
- <SCRIPT LANGUAGE="JavaScript">
-
-
- var window_size = 0;
-
- // These two lines make up the message that will be scrolled in the status
- // window
-
- var Line1="\Put one message here!";
- var Line2="\Put second message here!";
-
- function StartMarquee(initial_size) {
- window_size = initial_size;
- ScrolledMessage(window_size);
- }
-
- function ScrolledMessage(scrollto) {
- var StatusLine;
- var msg = " ";
- var i = 0;
- // "var speed" controls the scrolling speed
- var speed = 90;
-
- // Add your message here, seperated by whatever you'd like, enter the space bar for space instead of dots
-
- StatusLine = Line1+"..................."+Line2;
-
- scrollto--;
- if (scrollto == -StatusLine.length)
- scrollto = window_size;
-
- if (scrollto > 0) {
- for (i=0; i<scrollto; i++)
- msg = " "+msg;
- msg = msg + StatusLine;
- } else
- msg = StatusLine.substring(-scrollto, StatusLine.length);
- msg = msg.substring(0,window_size);
- window.status = msg;
- window.setTimeout('ScrolledMessage('+scrollto+')', speed);
- }
-
- </SCRIPT>
- <!-- End Status scrolling, enter in Head tag -->
-
-
-
-
-