Welcome to WebmasterWorld Guest from 54.167.194.59

Forum Moderators: incrediBILL

Message Too Old, No Replies

Getting a full page after a link in a frame

     
2:40 am on Apr 19, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 6, 2003
posts:56
votes: 0


I have a page that allows users to go outside of my site, but I put the page they are going to and a header for my site in frames. I want an option so that the user can get rid of my header if they want. I have everything working good, except when they click on the link to get rid of the header it reloads the "external page" in the frame that the header was in. I expected this to happen, but was wondering how I could implement the page so that when they click on the link the page refreshes or whatever to the way the page would look if they had just went to the site on their own. I hope that this makes sense.
Thanks.

D O N

2:55 am on Apr 19, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 3, 2003
posts:1633
votes: 0


Hi D O N,

Does:

<a href='http://www.foo.com' target='_top'>click here to view this page on its own</a>

do the trick?

3:01 am on Apr 19, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 6, 2003
posts:56
votes: 0


Works just like I wanted. Thanks dmorison!

Now anyone know how to close the entire window (the window with the two frames)? I have a link that "goes back to my site", but since the framed window is opened in a new window all I need to do is close the framed window page.

D O N

11:39 am on Apr 20, 2003 (gmt 0)

New User

10+ Year Member

joined:Apr 4, 2003
posts:5
votes: 0


Try target="_parent" to see if it does what you want.
10:01 pm on Apr 22, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 15, 2003
posts:60
votes: 0


Hi Don
Why make them click an extra time to get rid of the header? Do it for them with this.

<a href="http://www.widgets.com" TARGET=_"blank" TITLE="http://www.widgets.com">Widgets</a>

This not only opens the link in a new window without your header it also brings them back to your site when they close that new window.