BEHAVIOR = SCROLL | SLIDE | ALTERNATE

BEHAVIOR ATTIBUTE allows you to specify the way you want text for a marquee to scroll.

Examples:

This code Will give you this:
<MARQUEE BEHAVIOR=SCROLL>Hello</MARQUEE> Hello
BEHAVIOR=SCROLL,
Use the scroll value (which is the default) to have text enter on one side of the screen and exit on the opposite side.


This code Will give you this:
<MARQUEE BEHAVIOR=SLIDE>Hello</MARQUEE> Hello
BEHAVIOR=SLIDE
The slide value has text enter on one side of the screen and stop when it reaches the opposite side.


This code Will give you this:
<MARQUEE BEHAVIOR=ALTERNATE>Hello</MARQUEE> Hello
BEHAVIOR=ALTERNATE
Use the alternate value to have text move back and forth across the screen.

Back
My home page