BigNoseBird.Com- home Small Logo
The 508 Compliant Guide to 
       Big Nose Bird
BACK

The scrolling message in the status line of the browser trick


How to do this...

This is actually a small Java applet, not HTML. Since it does not require any external programs to be loaded, I figured I would stick it in this section!

To install this on a page, just cut and paste the source code below into the top of your document. Make sure that you do not split the line containing OnLoad in the <BODY> tag.

NOTE: Be careful when submitting your page to search engines. Some are pretty dumb and your document's description could end up being the Java code! Make sure you have a very descriptive <TITLE> entry!!!


source code

<HTML>
<HEAD>
  <TITLE>The scrolling bottom message page</TITLE>
</HEAD>
<script><!-- The Scrolling Message Java Applet ----------
function scroll_status (sval)
{
    var msg = "This is the BigNoseBird Scrolling Message!!!";
    var out = " ";
    var c = 1;
    if (150 < sval) {
       sval--;
       var cmd="scroll_status(" + sval + ")";
       tmx2 = window.setTimeout(cmd, 25);
    }
    else if (sval <= 150 && 0 < sval) {
            for (c=0 ; c < sval ; c++) {
                    out+=" ";
            }
            out+=msg;
            sval--;
            var cmd="scroll_status(" + sval + ")";
                window.status=out;
            tmx2=window.setTimeout(cmd,25);
    }
    else if (sval <= 0) {
         if (-sval < msg.length) {
                 out+=msg.substring(-sval,msg.length);
                 sval--;
         var cmd="scroll_status(" + sval + ")";
                 window.status=out;
                 tmx2=window.setTimeout(cmd,25);
            }
            else {
               window.status=" ";
               tmx2=window.setTimeout("scroll_status(150)",25);
            }
    }
}
// -- End of JavaScript code ------- --></script>
</SCRIPT>
<BODY BGCOLOR="#FFFFFF" 
   OnLoad="tmx1a=window.setTimeout('scroll_status(100)',50);">


Find or Give Help on the BBS
 
Home Top E-Mail
If it looks great, it's by Christine
Some Fine Print
© 1997-2003 BigNoseBird.Com®, Inc. All rights reserved. All other trademarks are the sole property of their respective owners. The products that we recommend are only ones that we use. We have no relationship with any of the authors or their companies. We cannot assume responsibility for their ultimate performance or lack of same. We also cannot assume responsibility for either any programs provided here, or for any advice that is given since we have no control over what happens after our code or words leave this site. Always use prudent judgment in implementing any program- and always make a backup first! For further information, please read our Privacy Statement. We can be contacted at webmaster@bignosebird.com.


<reallybig.com>
Web Builder Network Portal
Advertise
on the
Reallybig.com
Network
BigNoseBird Newsletter
Subscribe
Un-Subscribe


Sign up today to receive our low volume newsletter. Tips, tricks, news, and whatever else crosses our minds.
Back Issues
Privacy Statement