|
Back buttons are used to return to the
previous page. This is the same as using the back button on your
browser.
Example:
The FORM and INPUT TYPE tags produce the grey
button below.
Replace the text between the quotes after
VALUE to change the text displayed on the button. The ONCLICK="history.go(-1)"
displays the previous page.
Code:
<FORM><INPUT TYPE="BUTTON" VALUE="Go Back"
ONCLICK="history.go(-1)"></FORM>
Example:
An image used as a button.
Replace the text between the quotes after SRC
to the path of your image.
The javascript:history.go(-1)
code displays the previous page.
Code:
<A HREF="javascript:history.go(-1)">
<IMG SRC="http://wwww.crowderassoc.com/images/back.gif"
BORDER="0"></A>
Example:
A standard link.
[Go Back]
Replace [GO BACK]
with text you want to display. The
javascript:history.go(-1)
code displays the previous page.
Code:
<A HREF="javascript:history.go(-1)"> [Go Back]</A>
|