HTML Tutorial
JavaScripts
Alert
Opening and Closing Windows
Getting and Displaying Text from User
Displaying Date
Moving Through History
Status Bar Clock
Title Bar Clock
Clock
Scrolling Status Bar Message
Typing Status Bar Message
Bouncing Status Bar Message
Title Bar Message Changer
Title Bar Message Typer
Javascript Tutorial
Instructions: Paste this script anywhere in your HTML document. Change the blue text to add your message. The purple text is optional for when you want multiple messages. You may remove it, change the message, or copy and paste it and increment the number in the [] to create 2, 3, 4, or more messages.

Tested On: IE 6, Mozilla 1.3

<SCRIPT LANGUAGE="JavaScript">
  <!-- Hide this from older browsers
  // This script was written by Protoplasm
  // http://geocities.datacellar.net/protoplasm72

  var message = new Array ();
  var Speed = 100;
  var Count = 0;
  var currMessage = 1;
  var i = 0;

  message[1] = "This is Message 1";
  message[2] = "This is Message 2";

  for (i = 1; i < message.length; i++) {
    while (message[i].length < 150)
      message[i] = " " + message[i];
  }

  function Scroll() {
    var Text = message[currMessage];
    window.status = Text.substring(Count++, Text.length);
    if (Count == Text.length) {
      Count = 0;
      currMessage ++;
    }
    currMessage = (currMessage >= message.length ? 1 : currMessage);
    setTimeout("Scroll()", Speed);
  }

  Scroll();

  // end hide -->
</SCRIPT>

Written by Protoplasm

1