MARQUEE -------------------------------------------------------------------------------- Description Enables you to create a scrolling text marquee. Syntax Parameter Description BEHAVIOR=ALTERNATE | SCROLL | SLIDE How the text scrolls in the marquee. Alternate The marquee text alternates left and right. Scroll The marquee text scrolls in the direction specified in the DIRECTION= attribute. The text scrolls off the end and starts over. Slide The marquee text scrolls in the direction specified in the DIRECTION= attribute and stops when it reaches the end. BGCOLOR=color Background color behind the element. For a complete list of colors, see the Internet Explorer color table. CLASS=classname Class of the tag being defined. This is used to associate a subclassed style sheet with the tag. DATAFLD=colname Column name from the data source object that supplies the bound data. DATAFORMATAS=HTML | TEXT Indicates whether bound data is plain text or HTML. DATASRC=#ID ID of the data source object that supplies the data that is bound to this element. DIRECTION=DOWN | LEFT | RIGHT | UP Which direction the text should scroll. HEIGHT=n HEIGHT of the MARQUEE in pixels or as a percentage of the screen height. HSPACE=n Along with VSPACE, specifies margins for the element. ID=value SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underscore character, "_", may be used in the ID name. The ID should be unique throughout the scope of the document. If more than one object with the same identifier exists in a document, a collection of those named items is created that can only be referenced by ordinal position. LANG=language Specifies which language to use in ISO standard language abbreviation form. LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT Specifies the language the current script is written in and invokes the proper scripting engine. The default value is JAVASCRIPT. JAVASCRIPT, JSCRIPT The script is written in JScript. VBS, VBSCRIPT The script is written in VBScript. LOOP=n Number of times the marquee text will loop. SCROLLAMOUNT=n Number of pixels the text scrolls between each subsequent drawing of the MARQUEE. SCROLLDELAY=milliseconds Speed the MARQUEE scrolls in milliseconds. STYLE=css1-properties Inline style sheet for the tag. TITLE=text Used to provide advisory information. The contents of the title attribute will be displayed in a tooltip during the onmouseover event. TRUESPEED When present, this attribute indicates that the exact scroll delay value specified is used to move the marquee text. Without this attribute, all scroll delay values of 59 or less are rounded to 60 milliseconds. VSPACE=n Along with HSPACE, specifies margins for the element in pixels. WIDTH=n Returns the calculated width of the marquee in window coordinates. In HTML, this attribute may be initially set in pixels or percentages. event Can be one or more of these events: onafterupdate onblur onbounce onclick ondblclick ondragstart onfinish onfocus onhelp onkeydown onkeypress onkeyup onmousedown onmousemove onmouseout onmouseover onmouseup onresize onrowenter onrowexit onselectstart onstart Remarks Both the start and end tags are required. Example This is a scrolling marquee. Scripting Object MARQUEE -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Description Enables you to create a scrolling text marquee. Remarks The width of MARQUEE defaults to 100%. When MARQUEE is in a TD that does not specify a width, you should explicitly set the width of MARQUEE. The marquee tries to size according to the TD, and the TD tries to size according to the marquee. Without a specific width, the marquee will collapse to a 1-pixel width, and the contents cannot be viewed. Properties accessKey, behavior, bgColor, className, clientHeight, clientWidth, dataFld, dataFormatAs, dataSrc, direction, document, height, hspace, id, innerHTML, innerText, isTextEdit, lang, language, loop, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, scrollAmount, scrollDelay, scrollHeight, scrollLeft, scrollTop, scrollWidth, sourceIndex, style, tagName, title, trueSpeed, vspace, width Methods blur, click, contains, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, setAttribute, start, stop Collections all, children, filters Events onafterupdate, onblur, onbounce, onclick, ondblclick, ondragstart, onfinish, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onrowenter, onrowexit, onscroll, onselectstart, onstart HTML Element MARQUEE --------------------------------------------------------------------------------