previous | start | next

MARQUEE

<MARQUEE
ALIGN=LEFT|CENTER|RIGHT|TOP|BOTTOM
BEHAVIOR=type
BGCOLOR=color
DIRECTION=direction
HEIGHT=n
HSPACE=n
LOOP=n
SCROLLAMOUNT=n
SCROLLDELAY=n
VSPACE=n
WIDTH=n>
</MARQUEE>

Creates a scrolling text marquee. The scrolling text appears in the container.

ALIGN=LEFT|CENTER|RIGHT|TOP|BOTTOM
Specifies how the surrounding text should align with the marquee. The default is LEFT.
LEFT Surrounding text aligns with the left of the marquee.
CENTER Surrounding text aligns with the center of the marquee.
RIGHT Surrounding text aligns with the right of the marquee.
TOP Surrounding text aligns with the top of the marquee.
BOTTOM Surrounding text aligns with the bottom of the marquee.
BEHAVIOR=type
Specifies how the text should behave. The type can be one of these values:
SCROLL Start completely off one side, scroll all the way across and completely off, and then start again. This is the default.
SLIDE Start completely off one side, scroll in, and stop as soon as the text touches the other margin.
ALTERNATE Bounce back and forth within the marquee.
BGCOLOR=color
Specifies a background color for the marquee. The color can be either a hexadecimal number (optionally preceded by a #) specifying a red-green-blue color value, or a predefined color name as described in Color.
DIRECTION=direction
Specifies in which direction the text should scroll. The direction can be LEFT or RIGHT. The default is LEFT, which means scrolling from right to left.
HEIGHT=n
Specifies the height of the marquee, either in pixels or as a percentage of the screen height. To specify a percentage, the n must end with a percent sign (%).
HSPACE=n
Specifies left and right margins for the outside of the marquee, in pixels.
LOOP=n
Specifies how many times a marquee will loop when activated. If LOOP=-1, or if LOOP=INFINITE, the marquee will loop indefinitely.
SCROLLAMOUNT=n
Specifies the number of pixels between each successive draw of the marquee text.
SCROLLDELAY=n
Specifies the number of milliseconds between each successive draw of the marquee text.
VSPACE=n
Specifies top and bottom margins for the outside of the marquee, in pixels.
WIDTH=n
Sets the width of the marquee, either in pixels or as a percentage of the screen width. To specify a percentage, the n must end with a percent sign (%).

Example

<MARQUEE DIRECTION=RIGHT BEHAVIOR=SCROLL SCROLLAMOUNT=10 SCROLLDELAY=200>
This is a scrolling marquee.
</MARQUEE> 


previous | start | next