TARGET Attribute | target Property
Sets or retrieves a value that indicates the window or frame at which to target the contents.
Syntax
HTML <namespace:TREEVIEW TARGET = sTarget... > Scripting TREEVIEW.target [ = sTarget ]
Possible Values
namespace Prefix that associates a custom tag with an XML namespace. This prefix is set using the XMLNS attribute of the html tag. sTarget String that specifies or receives String that indicates the name of the target window or FRAME.
- name
- The name of the target window or FRAME.
_blank
- Loads the linked document into a new blank window. This window is not named.
_parent
- Loads the linked document into the immediate parent of the document that contains the link.
_search
- Loads the linked document into the browser search pane. Available in Microsoft Internet Explorer 5 and later.
- _self
- Default. Loads the linked document into the same window in which the link was clicked (the active window).
_top
- Loads the linked document into the topmost window.
The property is read/write. The property has a default value of _self.
Remarks
If there is no existing window or frame with the same
name
that is specified in the TARGET, a new window is opened with aname
equal to the value of the TARGET.The window
name
is an optional argument in the open scripting method.
Applies To
TREEVIEW
See Also
Internet Explorer WebControls, About the TreeView WebControl