MarqueeElement Object Members

SharePoint Designer Developer Reference

Represents a MARQUEE 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 MARQUEE element.
getAttribute Returns a Variant that represents the value of the specified attribute.
insertAdjacentHTML Inserts HTML text into a MARQUEE element at the specified location.
insertAdjacentText Inserts text into a MARQUEE 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 MARQUEE element is positioned at the top of the page window.
setAttribute Sets the attribute for a MARQUEE 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.
behavior Returns or sets a String that represents how text scrolls in a marquee.
bgColor Returns or sets a String, specifying a color name or red-green-blue (RGB) value, that represents the color behind the content for a MARQUEE element. Corresponds to the bgcolor attribute.
children Returns an ElementCollection collection that represents a collection of elements that are direct descendants of a MARQUEE element.
className Returns or sets a String that indicates the CSS style rule for a MARQUEE element. Corresponds to the class attribute.
clientHeight Returns a Long that represents the height in pixels of a MARQUEE 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 MARQUEE 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 MARQUEE element.
clientWidth Returns a Long that represents the width in pixels of a MARQUEE 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 the specified object. Corresponds to the dataFld attribute for a MARQUEE element.
dataFormatAs Sets or returns a String that contains the value of the dataFormatAs attribute, which represents how to render the data supplied to a specified object. Corresponds to the dataFormatAs attribute for a MARQUEE element.
dataSrc Sets or returns a String that represents the data source from which a MarqueeElement object gets or sets its data.
direction Sets or returns a String that represents the direction in which text scrolls in a marquee. Corresponds to the direction attribute of a MARQUEE element.
document Returns an Object that represents the parent document for a MARQUEE element.
height Returns or sets a String that represents the height of a MARQUEE element. Corresponds to the height attribute.
hspace Returns or sets a Long that represents the horizontal margin for a MARQUEE element. Corresponds to the hspace attribute.
id Returns or sets a String that represents the value of the id attribute for a MARQUEE element.
innerHTML Sets or returns a String that represents the text and HTML elements between the start and end tags of a MARQUEE element.
innerText Sets or returns a String that represents the text between the start and end tags of a MARQUEE element without any associated HTML.
isTextEdit Returns a Boolean that represents whether you can create a TextRange object with a MarqueeElement 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 MARQUEE element is written.
loop Sets or returns an Integer that represents the number of times the text in a MARQUEE element loops after it is first displayed in a browser. Corresponds to the loop attribute.
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.
onbounce Sets or returns a Variant that represents the onbounce attribute, which is the script that runs when the onbounce 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.
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.
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.
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.
onscroll Returns or sets a Variant that represents the value of the onscroll attribute, which is the script that runs when the onscroll 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 MARQUEE 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 MARQUEE 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.
scrollAmount Sets or returns a Long that represents the number of pixels that the text scrolls between each subsequent drawing of a MARQUEE element.
scrollDelay Sets or returns a Long that represents the speed, in milliseconds, that the text within a MARQUEE element scrolls.
scrollHeight Returns a Long that represents the scrolling height of an element.
scrollLeft Sets or returns a Long that represents the distance between the left edge of the element and the leftmost portion of the content currently visible in the window.
scrollTop Sets or returns a Long that represents the distance between the top edge of the element and the topmost portion of the content currently visible in the window.
scrollWidth Returns a Long that represents the scrolling width of an element.
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.
Style Returns an Style object that represents the inline style properties for a MARQUEE 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 MARQUEE element.
title Sets or returns a String that represents the value of a ScreenTip for a MARQUEE element.
trueSpeed Sets or returns a Boolean that specifies whether scrolling of text in a MARQUEE element is calculated by using the scrollDelay and scrollAmount properties and the actual time elapsed from the last clock tick. Corresponds to the trueSpeed attribute of a MARQUEE element.
vspace Sets or returns a Long that represents the vertical margin for an element.
width Sets or returns a Variant that represents the width of a MARQUEE element. Corresponds to the width attribute.

Events

  Name Description
onclick Occurs when a user clicks on a MARQUEE element.
ondblclick Occurs when a user double-clicks on a MARQUEE element.
ondragstart Occurs when the user starts to drag a MARQUEE 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 a MARQUEE element with either mouse button.
onmousemove Occurs when the user moves the mouse pointer over a MARQUEE element.
onmouseout Occurs when a user moves the mouse pointer outside the boundaries of a MARQUEE element.
onmouseover Occurs when a user moves the mouse pointer over a MARQUEE element.
onmouseup Occurs when a user releases a mouse button.
onresize Occurs before a MARQUEE element is resized.
onscroll Occurs when a user repositions the scroll box in either the horizontal or vertical scroll bar.
onselectstart Occurs when a user starts selecting a MARQUEE element.