
This interface specifies a frameset. Framesets are used to organize multiple frames and nested framesets. A frameset organizes multiple frames on the screen. Only FRAME, nested FRAMESET, and the NOFRAMES tags are valid within a frameset.
This element is a block element.
IHTMLFrameSetElement Methods
HRESULT put_rows(
BSTR v
);
Specifies a comma-delimited list of frames to create. Each item in the list contains the initial size of the row.
See also get_rows
HRESULT get_rows(
BSTR *p
);
Retrieves a comma-delimited list of frames to create. Each item in the list contains the initial size of the row.
See also put_rows
HRESULT put_cols(
BSTR v
);
Specifies a comma-delimited list of frames to create. Each item in the list contains the initial size of the column.
See also get_cols
HRESULT get_cols(
BSTR *p
);
Retrieves a comma-delimited list of frames to create. Each item in the list contains the initial size of the column.
See also put_cols
HRESULT put_border(
VARIANT v
);
Sets the border color and must be used with the border property, except for frames.
See also get_border
HRESULT get_border(
VARIANT *p
);
Retrieves the border color and must be used with the border property, except for frames.
See also put_border
HRESULT put_borderColor(
VARIANT v
);
Sets the border color.
See also get_borderColor
HRESULT get_borderColor(
VARIANT *p
);
Retrieves the border color.
See also put_borderColor
HRESULT put_frameBorder(
BSTR v
);
Specifies whether to display a border for the frame.
See also get_frameBorder
HRESULT get_frameBorder(
BSTR *p
);
Determines whether a border is currently being displayed for the frame.
See also put_frameBorder
HRESULT put_frameSpacing(
VARIANT v
);
Creates additional space between the frames, in pixels.
The amount defined for frameSpacing does not include the width of the frameBorder. frameSpacing can be set on one or more FRAMESETs, and applies to the contained FRAMESET unless the contained FRAMESET defines a different frameSpacing.
See also get_frameSpacing
HRESULT get_frameSpacing(
VARIANT *p
);
Retrieves the amount of additional space between the frames, in pixels.
The amount defined for frameSpacing does not include the width of the frameBorder. frameSpacing can be set on one or more FRAMESETs, and applies to the contained FRAMESET unless the contained FRAMESET defines a different frameSpacing.
See also put_frameSpacing
HRESULT put_name(
BSTR v
);
Sets the name of the frame so it can be targeted from links in other documents.
| window_name | String that specifies a frame. |
| _blank | Loads the link into a new, unnamed window. |
| _parent | Loads the link over the parent. If the frame has no parent, this refers to _self. |
| _self | Replaces the page with the specified link. |
| _top | Loads the link at the topmost level. |
The name property on the window comes from the FRAME definition. There is no other way to persist a window name in HTML.
See also get_name
HRESULT get_name(
BSTR *p
);
Retrieves the name of the frame so it can be targeted from links in other documents.
| window_name | String that specifies a frame. |
| _blank | Loads the link into a new, unnamed window. |
| _parent | Loads the link over the parent. If the frame has no parent, this refers to _self. |
| _self | Replaces the page with the specified link. |
| _top | Loads the link at the topmost level. |
The name property on the window comes from the FRAME definition. There is no other way to persist a window name in HTML.
See also put_name
HRESULT put_onload(
VARIANT v
);
Sets the inline script associated with the onload event before a FRAME element is loaded.
See also get_onload
HRESULT get_onload(
VARIANT *p
);
Retrieves the inline script associated with the onload event before a FRAME element is loaded.
See also put_onload
HRESULT put_onunload(
VARIANT v
);
Sets the inline script associated with the onunload event before a FRAME element is unloaded.
See also get_onunload
HRESULT get_onunload(
VARIANT *p
);
Retrieves the inline script associated with the onunload event before a FRAME element is unloaded.
See also put_onunload
HRESULT put_onbeforeunload(
VARIANT v
);
Sets the inline script associated with the onbeforeunload event before a FRAME element is unloaded.
This event is fired before the onunload event. It provides an opportunity to warn the user if the window is currently in an unsaved state and the information will be lost.
See also get_onbeforeunload
HRESULT get_onbeforeunload(
VARIANT *p
);
Retrieves the inline script associated with the onbeforeunload event before a FRAME element is unloaded.
This event is fired before the onunload event. It provides an opportunity to warn the user if the window is currently in an unsaved state and the information will be lost.
See also put_onbeforeunload
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.