|
gorilla -> RE: Your feedback please (5/9/2004 14:03:09)
|
I think I'll step in if I may as I think you are not understanding how the target attribute works. The purpose of TARGET is to control where the new document will be displayed when a visitor follows a link. Most of the time, clicking on a link simply loads a new document in the same window. However, with TARGET, you can: 1 Have the linked document open in a new window,. 2. When using frames, have it open in another frame. (You can target a frame by a name you have assigned it.) There four predefined values, which can be used as if certain windows (and frames) already have names. "_blank" "_parent" "_self" "_top" Note that each of predefined names starts with an underscore ("_"). Note also that they must be in all lower-case letters. "_blank" opens the new document in a new window. It is not supported in any of the strict versions of html or xhtml. "_parent" is used in the situation where a frameset file is nested inside another frameset file. A link in one of the inner frameset documents which uses "_parent" will load the new document where the inner frameset file had been. For this reason many people think of it a s atype of "framebuster." Clearly therefore if the current document's frameset file does not have any "parent", then "_parent" will work in the same manner as "_top": the new document is loaded in the full window. (If "_parent" does not work in the way you expect it is probably because you have it in a frameset which is nested inside another framset in the same frameset file. ) "_self" puts the new document in the same window and frame as the current document. "_self" IOW it works as though you had not used TARGET at all. "_top" loads the linked document in the topmost frame... IOW the new page fills the entire window. Finally there is "window name" "window name" is used to put the linked document in a frame or window other than the frame/window from which you have linked it.
|
|
|
|