Forum Moderators: open

Message Too Old, No Replies

Links in frame

closing a page to open a new one

         

henry0

1:14 pm on Apr 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am not a frame specialist; I did the PHP script in a site where another coder has done some frames.
I no longer can reach the first dev person
And I need to find how from a frame page I can write a link to another page with out opening a new window, therefore exiting and closing the previous page
Another word I do not want two windows opened at the same time

Thank you

tedster

3:06 pm on Apr 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Use the attribute target="_top" in your anchor tag to load the link in the same window, overwriting the previous frameset. There are currently four reserved target names that have special meanings, and they all begin with an underscore character.

target="_top"
The user agent loads the linked document into the full, original window (overwriting the existing frameset).

target="_blank"
The user agent loads the linked document in a new window.

target="_self"
The user agent loads the linked document in the same frame as where the anchor tag occurs.

target="_parent"
The user agent loads the linked document into the immediate parent window of the current frame.

henry0

3:29 pm on Apr 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Tedster for the tutorial:)