BEHAVIOR="ALTERNATE | SCROLL | SLIDE"
BGCOLOR="color name | #RRGGBB"
CLASS="class name(s)"
DATAFLD="column name"
DATAFORMATS="HTML | TEXT"
DATASRC="data source ID"
DIRECTION="DOWN | LEFT | RIGHT | UP"
HEIGHT="pixels or percentage"
HSPACE="pixels"
ID="unique alphanumeric identifier"
LANGUAGE="JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT"
LOOP="INFINITE | number"
SCROLLAMOUNT="pixels"
SCROLLDELAY="milliseconds"
STYLE="style information"
TITLE="advisory text"
TRUESPEEDVSPACE="pixels"
WIDTH="pixels or percentage"
onafterupdate="script"
onblur="script"
onbounce="script"
onclick="script"
ondblclick="script"
ondragstart="script"
onfinish="script"
onfocus="script"
onkeydown="script"
onkeypress="script"
onkeyup="script"
onmousedown="script"
onmousemove="script"
onmouseout="script"
onmouseover="script"
onmouseup="script"
onresize="script"
onrowenter="script"
onrowexit="script"
onselectstart="script"
onstart="script"
AttributesBEHAVIORThis attribute controls the movement of marquee text across the marquee. The
ALTERNATE option causes text to completely cross the marquee field in one direction and then cross in the opposite direction. A value of
SCROLL for the attribute causes text to wrap around and start over again. This is the default value for a marquee. A value of
SLIDE for this attribute causes text to cross the marquee field and stop when its leading character reaches the opposite side.
BGCOLORThis attribute specifies the marquee's background color. The value for the attribute can either be a color name or a color value defined in the hexadecimal #RRGGBB format.
CLASSThis attribute is set to indicate the class or classes that a particular element belongs to. A class name is used by a style sheet to associate style rules to multiple elements at once.
DATAFLDThis attribute is used to indicate the column name in the data source that is bound to the MARQUEE element.
DATAFORMATSThis attribute indicates if the bound data is plain text or HTML. The data bound with MARQUEE is used to set the message that is scrolled.
DATASRCThe value of this attribute is set to an identifier indicating the data source to pull data from. Bound data is used to set the message that is scrolled in the MARQUEE.
DIRECTIONThis attribute specifies the direction in which the marquee should scroll. The default is LEFT. Other possible values for DIRECTION include DOWN, RIGHT, and UP.
HEIGHTThis attribute specifies the height of the marquee in pixels or as a percentage of the window.
HSPACEThis attribute indicates the horizontal space in pixels between the marquee and surrounding content.
IDThis attribute specifies a unique alphanumeric identifier to be associated with an element. Naming an element is important to being able to access it with a style sheet, a link, or a scripting language. Names should be unique to a document and should be meaningful.
LANGUAGEIn the Microsoft implementation, this attribute specifies the script language to be used with an associated script bound to the element, typically through an event handler attribute. Possible values may include JAVASCRIPT, JSCRIPT, VBS, and VBSCRIPT. Other values that include the version of the language used, such as Javascript1.1, may also be possible.
LOOPThis attribute indicates the number of times the marquee content should loop. By default, a marquee loops infinitely unless the BEHAVIOR attribute is set to SLIDE. It is also possible to use a value of INFINITE or -1 to set the text to loop indefinitely.
SCROLLAMOUNTThis attribute specifies the width in pixels between successive displays of the scrolling text in the marquee.
SCROLLDELAYThis attribute specifies the delay in milliseconds between successive displays of the text in the marquee.
STYLEThis attribute specifies an inline style associated with the element. The style information is used to determine the rendering of the affected element.
TITLEThis attribute supplies advisory text for the element that may be rendered as a tool tip when the mouse is over the element. A title may also simply provide information that alerts future document maintainers to the meaning of the element and its enclosed content.
TRANSPARENCYThis attribute specifies the marquee's degree of transparency. Values range from 0 (totally opaque) to 100 (totally transparent).
TRUESPEED
When this attribute is present, it indicates that the SCROLLDELAY value should be honored for its exact value. If the attribute is not present, any values less than 60 are rounded up to 60 milliseconds.
VSPACEThis attribute indicates the vertical space in pixels between the marquee and surrounding content.
WIDTHThis attribute soecifies the width of the marquee in pixels or as a percentage of the enclosing window.
Event HandlersonafterupdateFires after the transfer of data from the element to data provider, namely, a data update.
onblurOccurs when an element loses focus, meaning that the user has moved focus to another element, typically either by clicking the mouse on it or tabbing to it.
onbounceTriggered when the bouncing contents of a marquee touch one side or another.
onclickIndicates that the element has been clicked.
ondblclickIndicates that the element has been double-clicked.
ondragstartFires when the user begins to drag a highlighted selection.
onfinishTriggered when a looping marquee finished.
onfocusThe focus event describes when an element has received focus, namely, it has been selected for manipulation or data entry.
onkeydownIndicates that a key is being pressed down with focus on the element.
onkeypressDescribes the event of a key being pressed and released with focus on the element.
onkeyupIndicates that s key is being released with focus on the element.
onmousedownIndicates the press of a mouse button with focus on the element.
onmousemoveIndicates that the mouse has moved while over the element.
onmouseoutIndicates that the mouse has moved away from an element.
onmouseoverIndicates that the mouse has moved over an element.
onmouseupIndicates the release of a mouse button with focus on the element.
onresizeTriggered whenever an object is resized. Can only be bound to the window under Netscape as set via the BODY element.
onrowenterIndicates that a bound data row has changed and new data values are available.
onrowexitFires just prior to a bound data source control changing the current row.
onselectstartFires when the user begins to select information by highlighting.
onstartFires when a looped marquee begins or starts over.