Name
LOOP — NN n/a IE 4 HTML n/a
Synopsis
LOOP=”count"
Optional
Sets the number of times the MARQUEE
element
scrolls its content. After the final scroll, the content remains in a
fixed position. Constant animation can sometimes be distracting to
page visitors, so if you have the MARQUEE
turn
itself off after a few scrolls, you may be doing your visitors a
favor.
Example
<MARQUEE BEHAVIOR="slide" DIRECTION="left" HEIGHT=20 WIDTH=200 LOOP=3> ... </MARQUEE>
Value
Any positive integer if you want the scrolling to stop. Otherwise,
set the value to -1
or
infinite
.
Default
-1
Object Model Reference
- IE
[window.]document.all.elementID.loop
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.