Opening links in another browser window???

admin

Administrator
Staff member
On my site I've got a sitemap that opens in a new 250x400 window. How do I get the links in the window to open back in the full size browser frame that it popped up from? I've tried innumerable combinations of targets, frame names etc. Any advice?<!--content-->You are probably looking for the window.opener command. Something like this maybe...<br />
<br />
Click <a href=http://www.webdeveloper.com/forum/archive/index.php/"#" onClick="javascript:window.opener.location='yourlink.htm';return false">this</a> link<!--content-->Edited the above to work...<!--content-->That should be, however:<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.w3.org/" onclick="top.opener.location = this.href; return false">W3C</a><!--content-->thanks, that works.<br />
<br />
on some pages the popup link is in an inline frame. Both these methods open the page into that little menu inline frame. Is there any way to load the page from the sitemap over the entire page, inline frames and all?<!--content-->Originally posted by Metjhs23 <br />
Is there any way to load the page from the sitemap over the entire page, inline frames and all? [/B] <br />
<br />
target="_top"<!--content-->i added that code and it's still opening in little top iframe<!--content-->Originally posted by Metjhs23 <br />
i added that code and it's still opening in little top iframe <br />
<br />
Exactly what code are you using currently?<br />
<br />
Post it.<!--content-->
 
Back
Top