Javascript and Java Tips

Creating Return Buttons in Javascript.

Returning from a standard page

<CENTER> <P STYLE="font-family:Times New Roman; font-size:10 pt"> <FORM NAME="DoReturn" METHOD="Post"> <INPUT TYPE="BUTTON" VALUE="RETURN" onClick="self.location.href='../index.html'"> </p> </CENTER>

Returning to the full browser from a frame

<CENTER> <P STYLE="font-family:Times New Roman; font-size:10 pt"> <FORM NAME="DoReturn" METHOD="Post"> <INPUT TYPE="BUTTON" VALUE="RETURN" onClick="parent.location.href='../index.html'"> </p> </CENTER>

Returning to the previous page.

<CENTER> <P STYLE="font-family:Times New Roman; font-size:10 pt"> <FORM NAME="DoReturn" METHOD="Post"> <INPUT TYPE="BUTTON" VALUE="BACK" onClick="history.back()"> </p> </center>

© 1999 Web Design by: New Horizons Software