Using the History Object to Navigate : Browser Event « Window Browser « JavaScript DHTML






Using the History Object to Navigate


<html>
<head>
<title>Using the History object</title>
</head>
<body>
<center>
<h1>Navigating with the History object</h1>
<form>
  <input type="button" value="Back" onClick="window.history.back()">  
  <input type="button" value="Forward" onClick="window.history.forward()">
</form>
</center>
</body>
</html>

           
       








Related examples in the same category

1.Handling onBlur and onFocus in Frames
2. IE4+ Event Coordinate Properties
3.Using the srcElement property
4. NN4 Event Capture and Release 1
5.Document and Layer Event Capture and Release
6.NN4 Capture, Release, and Route Events
7.NN4 Redirecting Events
8. Event Bubbling Demonstration
9.Cancelling and Redirecting Events in IE5.5+
10.NN6 Event Capture and Bubble
11.Preventing Bubble and Capture
12.Cancelling and Redirecting Events in NN6+