Attribute for <MARQUEE ...>
LOOP =
INFINITE
| number of loops
LOOP
sets how many times the marquee should loop. The default value (i.e. if you don't put a LOOP
attribute at all) is
INFINITE
, which means that the marquee loops endlessly.
This code creates a marquee that loops twice:
this code |
produces this |
<MARQUEE LOOP=2>
Hello
</MARQUEE>
|
|
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
SLIDE
:
this code |
produces this |
<MARQUEE LOOP=2 BEHAVIOR=SLIDE>
Hello
</MARQUEE>
|
|