Reply to Re: Back button

Your name:

Reply:


Posted by Ted on 11/28/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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация