July 1998
Intermediate to advanced
1456 pages
65h 5m
English
loop — NN n/a IE 4 DOM n/a
Read/Write
Sets the number of times the 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.
document.all.banner.loop = 3
Any positive integer if you want the scrolling to stop after that
number of times. Otherwise, set the value to -1.
-1
Read now
Unlock full access