Frame Help

windows

Guest
Strange how I've never needed to do this before, but now I need to know how to make a frame link open in the 'index' window.<br />
I hope you know what I mean, but if you can help or need me to explain better, then please reply!<!--content-->Hey Dave, <br />
<br />
Do you mean having a new page completely reload fresh? or into your main window?<br />
<br />
For a page to clear your frames, you need to put:<br />
<base target="_top"> <br />
in the HEAD tags.<br />
<br />
Or you can add it in your link:<br />
<a href=http://www.htmlforums.com/archive/index.php/"http://www.whatever.com" target="_top"><br />
<br />
If you want it to go into your frames, where your main page is, you need to make the target whatever name you called that frame. <br />
<br />
That's what I use and it works. If I'm off, someone let me know. :)<br />
<br />
I hope that helps Dave.<!--content-->I'll explain what I'm trying to do better:<br />
<br />
I have three frame sets, 'top' 'left' and 'main'<br />
I have links in 'left' but I don't want them to open in 'main' 'left' or 'top' I also don't want them to open in a new window. I hope you understand what I'm trying to do and I'd be very grateful if you could help.<!--content-->yep, target="_top" in your links will pop you clean out of your frameset and open your url in the existing window. If you have your top frame named "top", then rename it because "top" is a reserved browser function (to do the above).<br />
<br />
If you're having problems with it, please post your url.<!--content-->Thank you Ian and AlaskanKare, it works fine.<br />
<br />
I don't usually have any trouble with frames, but this thing was really confusing me!<br />
<br />
Anyway, thanks again!<!--content-->
 
Back
Top