View Full Version : Inline frame???

Feb 25th, 2003, 04:56 AM
I've got a site map that open up in a new window from a menu in an inline frame. How do I get the link in the sitemap to open back in the browser window that spawned it? so far, all i've managed to do is get the new page to open INSIDE the inline frame.

any suggestions?


Feb 25th, 2003, 05:48 AM
Have you tried...


in the link tags?

Feb 25th, 2003, 06:19 AM
target top simply loads it over the sitemap. I need it to load back in the browser window which has the menu from which the pop-up was spawned. Right now i've tried both

<a href="#" target="_top" onClick="javascript:window.opener.location='mylink.htm';return false">Link Text Here</a>

<a href="mylink.htm" target="_top" onclick="top.opener.location = this.href; return false">Link Text Here</a>

They both load in the original browser window, but it still loads only in the menu's inline frame.

makes sense?

Quiet Storm
Feb 26th, 2003, 11:59 PM
Try removing target="_top". :)

Feb 27th, 2003, 05:30 AM
My javascript is a bit rusty, but I am guessing that "opener" is the name of your iframe area. try taking that out so its...


And take out the target=_top parts as the javascript should be taking care of that part already.

(maybe its document.parent.location ?)