javascript MARQUEE loop
| 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. |
|
| Example | |
document.getElementById("myBanner").loop = 3;
|
|
| Value | |
|
Any positive integer if you want the scrolling to stop after that number of times. Otherwise, set the value to -1. |
|
| Default | |
|
-1 |
|
Previous: javascript MARQUEE recordNumber
1229,Nickname,Homepage or email,Comments here,Add comment
