codehopper
Technical User
Hi there,
I was searching previous posts/FAQs for an answer to my problem, but couldn’t find it: is there a way I can have a reliable ‘back’ button, purely in HTML or similar, not involving JavaScript? This button needs to work on Internet Explorer without fail (most popular versions) and ideally on Netscape as well.
I have a vertically scrolling page with many thumbnail pics. When clicked, each thumbnail opens a new page (in parent window) containing bigger pic and item’s details. The back button is on this page. When clicked, it takes the user back to the same part of the previous page (for example, near the bottom) where the thumbnail was. In other words, the same functionality as the browser’s own back button. Here is the code I was using till I found that it doesn’t work with some versions/configurations of IE:
____________________________
<form>
<input type="button" value="Back" onClick="history.go(-1);return true;">
</form>
____________________________
I hope someone can help me out with this... any advice or code appreciated!
Thanks for your time,
Codehopper
I was searching previous posts/FAQs for an answer to my problem, but couldn’t find it: is there a way I can have a reliable ‘back’ button, purely in HTML or similar, not involving JavaScript? This button needs to work on Internet Explorer without fail (most popular versions) and ideally on Netscape as well.
I have a vertically scrolling page with many thumbnail pics. When clicked, each thumbnail opens a new page (in parent window) containing bigger pic and item’s details. The back button is on this page. When clicked, it takes the user back to the same part of the previous page (for example, near the bottom) where the thumbnail was. In other words, the same functionality as the browser’s own back button. Here is the code I was using till I found that it doesn’t work with some versions/configurations of IE:
____________________________
<form>
<input type="button" value="Back" onClick="history.go(-1);return true;">
</form>
____________________________
I hope someone can help me out with this... any advice or code appreciated!
Thanks for your time,
Codehopper