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 typespeed = 100;
  var MessagePause = 1000;
  var message = new Array();
  var currMessage = 0;
  var offset = 0;

  message[0] = "Your first message goes here.";
  message[1] = "Your second message goes here.";

  function Display() {
    var text = message[currMessage];
    if (offset < text.length) {
      if (text.charAt(offset) == " ")
        offset++;

      var partMessage = text.substring(0, offset + 1);
      window.status = partMessage;
      offset++;
      setTimeout("Display()", typespeed);
    } else {
      offset = 0;
      currMessage++;
      if (currMessage == message.length)
        currMessage = 0;
      setTimeout("Display()", MessagePause);
    }
  }

  Display();

  // end hide -->
</SCRIPT>

Written by Protoplasm

1