to home page

BWRS
SEARCH

HOMETUTORIALSLINKSFORUMGLOSSARYNEWS
 
 Targeted Links
Save 50-70% on INK cartridges.
advertisement

More Tricks with Links -
Targeted Links

(includes how to open a second window)

So far our links have simply jumped us from page to page. However using the (4) target frame box give you more control. It can at it's simplest open up a new browser window, but it is probably more important in the concept of frames and controlling how you link between frames

(1) The target value set as "_blank"
(or how to open a second window)

You've probably seen tons of links on the web to open a second window whilst keeping the parent window open. Here is a typical example

click to open a second window

Doing this is dead easy

Create a link as normal

edit hyperlinks menu

But in the (4) target frame box type _blank
(Make sure you don't omit the _ )

This tells the browser to open the hyperlink in a new or blank window (defined by "_blank". Others use the value "_new" but this is being phased out).

Apart from this, the major use for target is with frames where it tells the browser what frame to load the link into. Check our frame section out but here are some you should knowback to top

(2) specified target

You can set the name of each frame in a window and target a link to open in it

consider this framed window with 3 frames called "left", "top" and "bottom"

 

LEFT

 

 

TOP

 

BOTTOM

 


a link within any of the frames with a (4) target frame box value of "left" will open a page up to replace the left frameback to top


(3) target value of "_top"

Useful when you want to get out of frames. When you have a window full of frames any link with a (4) target frame box value of "_top" will load into the whole window obliterating the frames

1

2

arrow to right

3

 


(4) target value of "_self"

This is the default (and therefore redundant value). Means the next page loads into the same (or self) frame.


(5) target value of "_parent"

You're unlikely to need this one (which is good as it's bl*&dy confusing)

Imagine you have a framed window with 2 frames. You then open a new frame set in the "top" frame contain itself 3 frames

page1
.htm


page2
htm

right arrow

 

page1
.htm

 


page3
.htm


page4
.htm


If you add a (4) target frame box value of "_parent" to a link in any of the 2 new frames then the new page will open up in the their parent frame (e.g. "top" frame) obliterating them like so

 

page1
.htm

 

page3
.htm

 

page4
.htm

right arrow

page1
.htm

 

page5
htm

 

back to top


Back to More LInks Main

BACK TO MORE LINKS MAIN