Frame Breaker
You may have noticed some sites having a "frame breaker" message link. This is usually a phrase saying "If you are stuck in someone else's frames ..." or "Break out of frames here". Some framed sites DO NOT set their targets as _top when they are linking to outside sites. This can be quite annoying. So, this code will eliminate the frames and load your site page again as the dominant page.
BASE TARGET
Without any TARGET specification, a link automatically opens in the same window (frame) as the link. Using the TARGET property, I've shown how to open a link in a specified window or area. BASE TARGET establishes a BASE or GENERAL TARGET property. If your framed site is generally a navigation and main area type layout, this will save some typing.
The BASE TARGET is placed in the HEAD area of the page containing the links.
From this :
To this :
Normal links will now default to opening in a frame or window called "MainWindow". Any link with an actual TARGET specified in it will over-ride the BASE TARGET.
The main advantage to using BASE TARGET is on a page that contains many links to the same area.
You may have noticed some sites having a "frame breaker" message link. This is usually a phrase saying "If you are stuck in someone else's frames ..." or "Break out of frames here". Some framed sites DO NOT set their targets as _top when they are linking to outside sites. This can be quite annoying. So, this code will eliminate the frames and load your site page again as the dominant page.
|
<a href="Your_URL_here" target="_top"> Frame Breaker Link </a> |
BASE TARGET
Without any TARGET specification, a link automatically opens in the same window (frame) as the link. Using the TARGET property, I've shown how to open a link in a specified window or area. BASE TARGET establishes a BASE or GENERAL TARGET property. If your framed site is generally a navigation and main area type layout, this will save some typing.
The BASE TARGET is placed in the HEAD area of the page containing the links.
From this :
|
<html> <head> <title> Page 1 example </title> </head> <body> This is page 1 <BR> Link to page 3 <a href="page3.html" target="MainWindow"> CLICK HERE </a> <BR> Link to page 4 <a href="page4.html" target="MainWindow"> CLICK HERE </a> <BR> <a href="http://www.altavista.com/" target="_top"> Visit Altavista </a> </body> </html> |
To this :
|
<html> <head> <title> Page 1 example </title> <base target="MainWindow"> </head> <body> This is page 1 <BR> Link to page 3 <a href="page3.html"> CLICK HERE </a> <BR> Link to page 4 <a href="page4.html"> CLICK HERE </a> <BR> <a href="http://www.infoseek.com/" target="_top"> Visit InfoSeek </a> </body> </html> |
Normal links will now default to opening in a frame or window called "MainWindow". Any link with an actual TARGET specified in it will over-ride the BASE TARGET.
The main advantage to using BASE TARGET is on a page that contains many links to the same area.


