Hide About ...
HTML for marquees and scrolling scripts
Everything you need to script scrollers, marquees and other tools for web developers. You can generate a simple marquee or a more advanced one using our marquee generator script.
Learn how to use the behavior and direction tag, as well as how to change the speed of scrolling in your HTML Marquees.
BEHAVIOR="ALTERNATE | SCROLL | SLIDE"
BGCOLOR="color name | #RRGGBB"
DATAFORMATS="HTML | TEXT"
DATASRC="data source ID"
DIRECTION="DOWN | LEFT | RIGHT | UP"
HEIGHT="pixels or percentage"
ID="unique alphanumeric identifier"
LOOP="INFINITE | number"
WIDTH="pixels or percentage"
This attribute controls the movement of marquee text. The ALTERNATE option causes the text to go back and forth. A value of SCROLL for the attribute causes text to wrap around and start over again - this is the default marquee you are used to. A value of SLIDE for this attribute causes text to slide into position and stop moving.
This attribute specifies the marquee's background color. The value for the attribute can either be a color name or a hexidecimal color value.
This attribute is set to indicate the class or classes that a particular element belongs to as defined in your stylesheet.
This attribute is used to indicate the specific column name in the data source that is bound to the <MARQUEE> element.
This 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.
The 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>.
This attribute specifies the direction the marquee should scroll. The default is LEFT. Other possible values for DIRECTION include DOWN, RIGHT, and UP.
The height attribute specifies the height of the marquee in pixels or as a percentage of the window.
This attribute indicates the horizontal space in pixels between the marquee and surrounding content.
This 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.
This attribute indicates the number of times the marquee text 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.
This attribute specifies the width in pixels between successive displays of the scrolling text in the marquee. The higher the number, the faster the scroll.
This attribute specifies the delay in milliseconds between successive displays of the text in the marquee. The lower the number, the faster the scroll.
This attribute specifies an inline style associated with the element. The style information is used to determine the rendering of the affected element. A stylesheet value will override this value.
This attribute is simply a tool tip that is visible when the cursor (mouse) is over the element. A title may also provide information that alerts future document maintainers to the meaning of the element and its enclosed content.
This attribute specifies the marquee's degree of transparency. Values range from 0 (totally opaque) to 100 (totally transparent).
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.
This attribute indicates the vertical space in pixels between the marquee and surrounding content.
This attribute soecifies the width of the marquee in pixels or as a percentage of the enclosing window.
Executes after the transfer of data from the element to data provider, namely, a data update.
Occurs 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.
Triggered when the bouncing contents of a marquee touch one side or another.
Indicates that the element has been clicked.
Indicates that the element has been double-clicked.
Fires when the user begins to drag a highlighted selection.
Triggered when a looping marquee finished.
The focus event describes when an element has received focus, namely, it has been selected for manipulation or data entry.
Indicates that a key is being pressed down with focus on the element.
Describes the event of a key being pressed and released with focus on the element.
Indicates that s key is being released with focus on the element.
Indicates the press of a mouse button with focus on the element.
Indicates that the mouse has moved while over the element.
Indicates that the mouse has moved away from an element.
Indicates that the mouse has moved over an element.
Indicates the release of a mouse button with focus on the element.
Fires whenever an object is resized. Can only be bound to the window under Netscape as set via the <BODY> element.
Indicates that a bound data row has changed and new data values are available.
Launches just prior to a bound data source control changing the current row.
Functions when the user begins to select information by highlighting.
Fires when a looped marquee begins or starts over.
Quick Blog from GoDaddy.com
Get your blog up and running fast!
Find, Buy & Sell Domain Names
Make money selling domains from your site/blog.
Low cost domain registration. Buy one domain, get one free!