Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
loop
Collapse the table of content
Expand the table of content

loop property

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

Syntax

HRESULT value = object.put_loop( v);HRESULT value = object.get_loop(* p);

Property values

Type: long

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 IHTMLMarqueeElement::loop property to null or 0 in script, a scripting error occurs.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft