LOOP


LOOP ATTRIBUTE sets how many times you want the scrolling text to move across the screen.

The default value (i.e. if you don't put a LOOP attribute at all) is INFINITE, which means that the marquee loops endlessly.

Examples:

This code Will give you this:
<MARQUEE LOOP=2>Hello</MARQUEE> Hello
One of the problems with LOOP is that the content disappears after the last loop. To set the marquee so that the content is visible when the looping is done set BEHAVIOR to SLIDE:
This code Will give you this:
<MARQUEE LOOP=2 BEHAVIOR=SLIDE>Hello</MARQUEE> Hello


Back
My home page