Forum Moderators: open

Message Too Old, No Replies

Get rid of the frame

         

Blue_Tetra

5:22 pm on Apr 22, 2003 (gmt 0)

10+ Year Member



Hello,

I have frames on my web pages.

I have a link that is needed to open without a frame, but I don't want to open a new page; target="blank" (the link is in the frame). What I want is, open the link but without the frame (get rid of the frame).

Please help.

Many thanks.

Blue

BlobFisk

5:49 pm on Apr 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi blue,

Try target="_top", which tells the page to open the new page in the main browser (or top frame).

HTH
<edit>Typo Fix</edit>

[edited by: BlobFisk at 5:53 pm (utc) on April 22, 2003]

Paul in South Africa

5:52 pm on Apr 22, 2003 (gmt 0)

10+ Year Member



It's been a long time since I used frames, but I think it should be target="_parent"

<oops>Told you it was a long time ago</oops>

tedster

6:08 pm on Apr 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are four reserved names for use with the target= attribute:

_top clears all existing frames and opens document in the main window
_parent opens in the parent frame. Same as _top if the frameset is not nested
_self opens in the current frame or window (seldom used)
_blank opens in a new window

Blue_Tetra

6:11 pm on Apr 22, 2003 (gmt 0)

10+ Year Member



It worked!

Thank you guys.

Regards,

Blue