FrameElement Object Members
SharePoint Designer Developer Reference |
Represents a FRAME element in an HTML document.
Methods
Name | Description | |
---|---|---|
contains | Returns a Boolean that represents whether an element is contained within another element. True indicates that the element specified in the pChild parameter is contained within a FRAME element. | |
getAttribute | Returns a Variant that represents the value of the specified attribute. | |
insertAdjacentHTML | Inserts HTML text into a FRAME element at the specified location. | |
insertAdjacentText | Inserts text into a FRAME element at the specified location. | |
removeAttribute | Returns a Boolean that represents whether the attribute was successfully removed. True indicates that the attribute was removed. False indicates that the attribute was not removed. | |
scrollIntoView | Scrolls the page so that a FRAME element is positioned at the top of the page window. | |
setAttribute | Sets the attribute for a FRAME element. |
Properties
Name | Description | |
---|---|---|
accessKey | Sets or returns a String that represents the shortcut key, also known as the accelerator key, for a specified object. | |
all | Returns an ElementCollection object that represents a reference to the collection of all elements contained within a specified object. | |
border | Returns or sets a Variant that represents the border width in pixels of a FRAME element. | |
borderColor | Returns or sets a String, specifying a color name or red-green-blue (RGB) value, that represents the border color of the object. | |
children | Returns an ElementCollection collection that represents a collection of elements that are direct descendants of a FRAME element. | |
className | Returns or sets a String that indicates the CSS style rule for a FRAME element. Corresponds to the class attribute. | |
clientHeight | Returns a Long that represents the height in pixels of a FRAME element without any margin, border, scroll bar, or padding settings that may have been applied. | |
clientLeft | Returns a Long that represents the position in pixels of the left edge of a FRAME element without any margin, border, scroll bar, or padding settings that may have been applied. | |
clientTop | Returns a Long that represents the distance in pixels between the offsetTop property and the true top of the client area of a FRAME element. | |
clientWidth | Returns a Long that represents the width in pixels of a FRAME element without any margin, border, scroll bar, or padding settings that may have been applied. | |
dataFld | Sets or returns a String that represents the name of the field in a data source, as specified by the dataSrc property, to which to bind to the specified object. Corresponds to the dataFld attribute for an HTML element that is bound to a database. | |
dataFormatAs | Sets or returns a String that contains the value of the dataFormatAs attribute, which represents how to render an HTML element that is bound to a database. | |
dataSrc | Sets or returns a String that represents the data source for an object. | |
document | Returns an Object that represents the parent document for a FRAME element. | |
frameBorder | Returns or sets a String that represents whether a border, if present, is drawn as a three-dimensional frame. Corresponds to the frameborder attribute for a FRAME element. | |
frameSpacing | Returns or sets a Variant that represents the amount of space between the frames in a FRAME element. Corresponds to the framespacing attribute. | |
id | Returns or sets a String that represents the value of the id attribute for a FRAME element. | |
innerHTML | Sets or returns a String that represents the text and HTML elements between the start and end tags of a FRAME element. | |
innerText | Sets or returns a String that represents the text between the start and end tags of a FRAME element without any associated HTML. | |
isTextEdit | Returns a Boolean that represents whether you can create a TextRange object with a FrameElement object. True indicates that you can create a TextRange object. | |
lang | Returns or sets a String that represents the language to use for the specified object. Corresponds to the lang attribute of the associated HTML element. | |
language | Returns or sets a String that represents the language in which the script for a FRAMESET element is written. | |
marginHeight | Returns or sets a Variant that represents the height of the top and bottom margins for an FRAME element. | |
marginWidth | Returns or sets a Variant that represents the width of the left and right margins for a FRAME element. | |
name | Returns or sets a String that represents the name of a FRAME element that can be used as the target value for links. Corresponds to the name attribute. | |
noResize | Returns or sets a Boolean that represents whether a user can resize a border to a frame when it is displayed in the browser. False indicates the frame size is fixed and the user cannot resize it. Corresponds to the noresize attribute for the FRAME element. | |
offsetHeight | Retrieves the height of the specified object relative to the layout or coordinate parent, as indicated in the offsetParent property. | |
offsetLeft | Retrieves the left edge of the specified object relative to the layout or coordinate parent, as indicated in the offsetParent property. | |
offsetParent | Retrurns an IHTMLElement object that represents the parent element that defines the offsetTop and offsetLeft properties. | |
offsetTop | Retrieves the top edge of the specified object relative to the layout or coordinate parent, as indicated in the offsetParent property. | |
offsetWidth | Retrieves the width of the specified object relative to the layout or coordinate parent, as indicated in the offsetParent property. | |
onafterupdate | Sets or returns a Variant that represents the value of the onafterupdate attribute, which is the name of the script that runs when the onafterupdate event fires. | |
onbeforeupdate | Returns or sets a Variant that represents the value of the onbeforeupdate attribute, which is the script that runs when the onbeforeupdate event fires. | |
onblur | Sets or returns a Variant that represents the onblur attribute, which is the script that runs when the onblur event fires. | |
onclick | Sets or returns a Variant that represents the value of the onclick attribute, which is the script that runs when the onclick event fires. | |
ondataavailable | Returns or sets a Variant that represents the value of the ondataavailable attribute, which is the script that runs when the ondataavailable event fires. | |
ondatasetchanged | Returns or sets a Variant that represents the value of the ondatasetchanged attribute, which is the script that runs when the ondatasetchanged event fires. | |
ondatasetcomplete | Returns or sets a Variant that represents the value of the ondatasetcomplete attribute, which is the script that runs when the ondatasetcomplete event fires. | |
ondblclick | Returns or sets a Variant that represents the value of the ondblclick attribute, which is the script that runs when the ondblclick event fires. | |
ondragstart | Returns or sets a Variant that represents the value of the ondragstart attribute, which is the script that runs when the ondragstart event fires. | |
onerrorupdate | Returns or sets a Variant that represents the value of the onerrorupdate attribute, which is the script that runs when the onerrorupdate event fires. | |
onfilterchange | Returns or sets a Variant that represents the value of the onfilterchange attribute, which is the script that runs when the onfilterchange event fires. | |
onfocus | Returns or sets a Variant that represents the value of the onfocus attribute, which is the script that runs when the onfocus event fires. | |
onhelp | Returns or sets a Variant that represents the value of the onhelp attribute, which is the script that runs when the onhelp event fires. | |
onkeydown | Returns or sets a Variant that represents the value of the onkeydown attribute, which is the script that runs when the onkeydown event fires. | |
onkeypress | Returns or sets a Variant that represents the value of the onkeypress attribute, which is the script that runs when the onkeypress event fires. | |
onkeyup | Returns or sets a Variant that represents the value of the onkeyup attribute, which is the script that runs when the onkeyup event fires. | |
onmousedown | Returns or sets a Variant that represents the value of the onmousedown attribute, which is the script that runs when the onmousedown event fires. | |
onmousemove | Returns or sets a Variant that represents the value of the onmousemove attribute, which is the script that runs when the onmousemove event fires. | |
onmouseout | Returns or sets a Variant that represents the value of the onmouseout attribute, which is the script that runs when the onmouseout event fires. | |
onmouseover | Returns or sets a Variant that represents the value of the onmouseover attribute, which is the script that runs when the onmouseover event fires. | |
onmouseup | Returns or sets a Variant that represents the value of the onmouseup attribute, which is the script that runs when the onmouseup event fires. | |
onresize | Returns or sets a Variant that represents the value of the onresize attribute, which is the script that runs when the onresize event fires. | |
onrowenter | Returns or sets a Variant that represents the value of the onrowenter attribute, which is the script that runs when the onrowenter event fires. | |
onrowexit | Returns or sets a Variant that represents the value of the onrowexit attribute, which is the script that runs when the onrowexit event fires. | |
onselectstart | Returns or sets a Variant that represents the value of the onselectstart attribute, which is the script that runs when the onselectstart event fires. | |
outerHTML | Returns or sets a String that represents the HTML for a FRAME element and all text and HTML that it contains, including the surrounding start and end tags. | |
outerText | Returns or sets a String that represents the text, without any HTML, of a FRAME element. | |
parentElement | Returns an IHTMLElement that represents the element that is one level up in the HTML element hierarchy. | |
parentTextEdit | Returns an IHTMLElement object that represents the parent element in the document hierarchy that can be used to create a text range containing the original element. | |
scrolling | Sets or returns a String that represents whether a frame can be scrolled. | |
sourceIndex | Returns a Long that represents the ordinal position of the element, in source order, as the element appears in the ElementCollection collection accessed by using the all property. | |
src | Returns or sets a String that represents the source file for a FRAME element. Corresponds with the src attribute. | |
Style | Returns an Style object that represents the inline style properties for a FRAME element. Corresponds to the style attribute. | |
tabIndex | Sets or returns an Integer that represents the position of an element within the tab selection order. | |
tagName | Returns a String that represents the name of a FRAME element. | |
title | Sets or returns a String that represents the value of a ScreenTip for a FRAME element. |
Events
Name | Description | |
---|---|---|
onclick | Occurs when a user clicks on an IFRAME element. | |
ondblclick | Occurs when a user double-clicks on a FRAME element. | |
ondragstart | Occurs when the user starts to drag an IFRAME element. | |
onkeydown | Occurs when a users presses a key on the keyboard. | |
onkeyup | Occurs when a user releases a key. | |
onmousedown | Occurs when a user clicks an IFRAME element with either mouse button. | |
onmousemove | Occurs when the user moves the mouse pointer over an IFRAME element. | |
onmouseout | Occurs when a user moves the mouse pointer outside the boundaries of an IFRAME element. | |
onmouseover | Occurs when a user moves the mouse pointer over an IFRAME element. | |
onmouseup | Occurs when a user releases a mouse button. | |
onresize | Occurs before an IFRAME element is resized. | |
onselectstart | Occurs when a user starts selecting an IFRAME element. |