You are here: irt.org | FAQ | JavaScript | Window | Q1114 [ previous next ]
In the frame in the parent window:
<script language="JavaScript"><!-- WinId = window.open('links.html','linkswindow','width=300,height=400'); if (!WinId.opener) WinId.opener=self; //--></script>
In the links.hmtl:
<a href="javascript:opener.location = 'http://www.netscape.com'; self.close()">Netscape</a> <a href="javascript:opener.location = 'http://www.microsoft.com'; self.close()">Microsoft</a>