This topic has not yet been rated - Rate this topic

loop attribute | loop property

Sets or retrieves the number of times a marquee will play.

Syntax

HTML<element loop="p" ... >
JavaScript

p = object.loop

Property values

Type: Integer

0, -1

Loops infinitely.

count

Number of times to loop. Default value is -1.

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.

See also

marquee

 

 

Send comments about this topic to Microsoft

Build date: 11/21/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.