JavaScript back and forward history buttons script
These buttons add some navigational ease for the visitor.
Clicking on this back button will take the visitor back one page in their browser history:
Here is the free JavaScript code for it:
<FORM><INPUT type="button" value="Previous page" onClick="history.back()"></FORM>
Obviously, this forward button will do the same thing, but different in directing the visitor forward one page in theri browsing history (assuming they have one):
Here the JavaScript snippet for it:
<FORM><INPUT type="button" value="Next page" onClick="history.forward()"></FORM>
...or you may want them together like this:
Here is the code for that one:
<FORM><INPUT TYPE="button" VALUE="BACK"onClick="history.go(-1)"><INPUT TYPE="button" VALUE="FORWARD"onClick="history.go(1)"></FORM>


