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: Place the Form tag where you want the buttons to appear on your webpage. The script can go anywhere in your HTML document.

Tested On: Mozilla 1.3, Opera 7

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

  function goForward() {
    window.history.forward();
  }

  function goBack() {
    window.history.back();
  }

  // end hide -->
</SCRIPT>

<FORM TARGET="_self">
  <INPUT TYPE="submit" VALUE="Back" onClick="goBack()">
  <INPUT TYPE="submit" VALUE="Forward" onClick="goForward()">
</FORM>

Written by Protoplasm

1