Attribute for <MARQUEE ...>
BEHAVIOR = SCROLL | SLIDE | ALTERNATE

BEHAVIOR indicates how the contents scroll.

BEHAVIOR=SCROLL, which is the default, indicates that the content should scroll off the edge of the marquee area, then reappear on the other side:

this code produces this
<MARQUEE BEHAVIOR=SCROLL>
Hello

BEHAVIOR=SLIDE is almost the same, except that it indicates that when the leading part content reaches the edge it should start over without scrolling off. Notice in this example that the contents start scrolling again as soon as the "H" reaches the left side:

this code produces this
<MARQUEE BEHAVIOR=SLIDE>
Hello

BEHAVIOR=ALTERNATE makes the content bounce back and forth, all of it remaining visible all the time (assuming of course that it all fits).

this code produces this
<MARQUEE BEHAVIOR=ALTERNATE>
Hello





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.