HTML and CSS  Home HTML and CSS Tutorials Targeting in Frames
rss

Targeting in Frames

Author: 80four.co.uk More by this author


target=_self This will load the page in the same frame as the caller.
target=_parent This causes the page to load in the same frameset as the caller taking the place of any sub frames.
target=_top This loads the resulting page into the full body of the current window eliminating any frames.
target=_blank This opens up a new window and loads the page in to it.
target=_new Opens a new window and the page loads in it, all other links using same target open in this window.

Whats this all about?

By assigning a name to a frame via the name attribute, authors can refer to it as the "target" of links defined by other elements.

e.g. If my frame is called "80four", then to get a link to open in that frame the code would read:

<a href="pagename.html" target="80four">link name</a>

Then pagename.html would open in the frame "80four".

Example:

image 2
image 4 Links   image 5
image 6 image 7 image 8
image 10
image 12 Sample Frame image 13
image 14 image 15 image 16
image 18
image 20 Template Monster

Template Tunning

Web Design Library
image 21
image 22 image 23 image 24
image 26
image 28 image 29
image 30 image 31 image 32


Rate this Material: Bad 1 2 3 4 5 Excellent
print this page tell a friend subscribe to newsletter subscribe to rss

Add comments to "Targeting in Frames"