Posted by Ted on 12/14/34 11:22
>> How do I write that in html? I know about <a
>> href="../pagename.htm">Back</a> but that is to a specific page and
>> puts cursor at the beginning. What I want is to just simulate the
>> 'Back' button. Thanks for any ideas.
>
> You can't do this with HTML alone. You might use
> <a href="../pagename.htm" onclick="window.back()">Back</a>
Thanks for that. I didn't really want users to have to enable jscript...
Works fine but goes to top of page, as you said.
<a href = "javascript:history.back()"> Go back </a>
Works just like 'Back' button. Nice.
So, those without jscript enabled can use the back button
while the more adventurous will see my 'go back'.
Thanks all. You've helped a lot.
Ted
Navigation:
[Reply to this message]
|