homepage Welcome to WebmasterWorld Guest from 54.161.192.130
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Getting a full page after a link in a frame
dreaming of nascar

10+ Year Member



 
Msg#: 4843 posted 2:40 am on Apr 19, 2003 (gmt 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

 

dmorison

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4843 posted 2:55 am on Apr 19, 2003 (gmt 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?

dreaming of nascar

10+ Year Member



 
Msg#: 4843 posted 3:01 am on Apr 19, 2003 (gmt 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

pterodactyl

10+ Year Member



 
Msg#: 4843 posted 11:39 am on Apr 20, 2003 (gmt 0)

Try target="_parent" to see if it does what you want.

rogue

10+ Year Member



 
Msg#: 4843 posted 10:01 pm on Apr 22, 2003 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved