Language References
Sets or retrieves how the text scrolls in a MARQUEE.
Inline |
<MARQUEE behavior = 'scroll' | 'alternate' | 'slide'...> |
Script |
marquee.behavior = sScroll ] |
scroll |
The marquee scrolls in the direction specified by the direction property. The text scrolls off the end and starts over. |
alternate |
The marquee's scroll direction reverses when its content reaches the edge of the container. |
slide |
The marquee scrolls in the direction specified by the direction attribute. The text scrolls to the end and stops. |
The property is read/write with a default value of scroll. The proposed cascading stylesheet ( CSS ) extension attribute is not inherited.
The sample below flies a piece of text down the page using a MARQUEE object.
<marquee loop=1 style="position:absolute;
top:80; left:40" scrollamount=10 scrolldelay=30
behavior="slide" direction="down">
<ul style="font:bold 15pt bookman,times,serif;
color:lime">
<li>
<li>Use Dynamic HTML to differentiate your content
and create compelling Web sites</li>
</ul>
</marquee>
This feature requires Microsoft® Internet Explorer® 5 or later.
Show me
HTMLAREA, MARQUEE
direction, How to Fly Text