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

Q221 How can I change the location of the main window once a document from another server has loaded?

irt.org | Knowledge Base | JavaScript | Window | Q221 [ previous next ]

Q221 How can I change the location of the main window once a document from another server has loaded?

Use frames with a hidden dummy frame. Use the frames onLoad event handler to change the location of one of the frames.

<FRAMESET ROWS="100%,*" onLoad="location.href='http://www.netscape.com'">
<FRAME SRC="http://www.microsoft.com">
<FRAME SRC="blank.html">
</FRAME>

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.