Sets or retrieves the number of times a marquee will play.
dhtml语法
HTML | <MARQUEE LOOP
= iLoop... >
|
---|
Scripting | MARQUEE.loop [ = iLoop ] |
---|
DHTML可能的值
iLoop | Integer that
specifies or receives one of the following values.0, -1 | Loops infinitely. | count | Number of times to loop. |
|
The property is read/write.
The property has a default value of
-1.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.
Remarks
In each of the following boundary cases, the marquee loops infinitely.
<MARQUEE SCROLLAMOUNT=30 LOOP>This is some scrolling text.</MARQUEE> | Loops infinitely. |
<MARQUEE SCROLLAMOUNT=30 LOOP=0>This is some scrolling text.</MARQUEE> | Loops infinitely. |
<MARQUEE SCROLLAMOUNT=30 LOOP=>This is some scrolling text.</MARQUEE> | Loops infinitely. |
If you set the loop property to null or 0 in script, a scripting error occurs.
是否符合公共标准
There is no public standard that applies to this property.
Applies To