Javascript Essentials Part 1

by on November 1st, 2008

Back Button (history.back) Script

Text Link
<a href="javascript:history.back(1)" target="_parent">Go back</a>
Image Link
<a href="javascript:history.back(1)" 
target="_parent">
<img src="images/this.jpg" width="100" height="20" border="0">
</a>

OR

History Back and Forward Buttons
<form>
<input type="button" value=" back " onClick="history.go(-1)">
<input type="button" value="forward" onCLick="history.go(1)">
</form>

Related Posts

advertisements
Pages: 1 2 3 4 5 6 7 8 9 10

Reviews are closed.