Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q435 How can I redirect the browser to the users homepage?

irt.org | Knowledge Base | JavaScript | Redirect | Q435 [ previous next ]

Q435 How can I redirect the browser to the users homepage?

In Netscape Navigator 4+:

<form>
<input type="button" onclick="if (window.home) window.home()" value="Home">
</form>

Pierre Metras points out:

This trick can be enhanced with the Internet Explorer version (tested with Internet Explorer 5).
<a href="about:home">My home page</a>

Feedback on 'Q435 How can I redirect the browser to the users homepage?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.