Forum Moderators: open
<form>
<input type="button" onClick="parent.otherFrameName.history.back()" value="Back">
</form>
it works great but of course i am stuck with the button it gives as default. I tried to modify it to use my own button. When i enter it as this
<a href="javascript:;" onClick="parent.main.history.back()">
<img src="back.gif" border="0" width="54" height="35"></a>
it does not work. What i am really asking, is how can i put the main frame back one step AND use my own gif as the button.
<a href="javascript:parent.main.history.back();">
<img src="back.gif" border="0" width="54" height="35"></a>
or even this (you may want to add onMouseOver event handler for changing cursor style):
<img src="back.gif" border="0" width="54" onClick="parent.main.history.back()" height="35">