Click to return to the DHTML, HTML     
LOOP Attribute | loop Pro...     LOWSRC Attribute | lowsrc...     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

LOOP Attribute | loop Property


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

Syntax

HTML<ELEMENT LOOP = iLoop ... >
Scriptingobject.loop [ = iLoop ]

Possible Values

iLoopInteger that specifies one of the following values:
0, -1Loops infinitely.
countNumber of times to loop.

The property is read/write with 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 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.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
MARQUEE


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.