最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

repeatCount Property

Internet Development Index

Retrieves the current iteration in the repetition loop.

Syntax

[ iIteration = ] currTimeState.repeatCount

Possible Values

iIterationInteger that receives the current iteration in the repetition loop.

The property is read-only. The property has no default value.

Remarks

This is a read-only property, exposed by the currTimeState object, that you can access at run-time to determine the current iteration of a repetition loop. A repetition loop is created by setting the repeatCount property.

Example

This example uses the repeatCount property to retrieve the current iteration.

<HTML XMLNS:t ="urn:schemas-microsoft-com:time">
<HEAD>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
<SCRIPT LANGUAGE="JScript">
function fnRepeat()
{
oCount.innerText = "Current iteration: " +
(oAnim.currTimeState.repeatCount + 1);
// Add one because repeatCount is zero-based.
}
</SCRIPT>
</HEAD>
<BODY TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF"
LINK="#000000" VLINK="#808080" ALINK="#000000">
<DIV ID="oCount">Current iteration: 1</DIV>
<DIV ID="oDiv" CLASS="time" STYLE="position:relative;top:25px;left:50px;
height:100px;width:100px;background-color:blue;"></DIV>
<t:ANIMATEMOTION ID="oAnim" targetElement="oDIV" to="150,0"
begin="0;indefinite" dur="1" autoReverse="true" repeatCount="5"
onrepeat="fnRepeat()"/>
<BR><BR>
<BUTTON id="b1" onclick="oCount.innerText='Current iteration: 1';
oAnim.beginElement();">Click to restart</BUTTON>
</BODY>
</HTML>
This feature requires Microsoft?Internet Explorer 5.5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This property is a Microsoft extension to Synchronized Multimedia Integration Language (SMIL) Non-Microsoft link.

Applies To

currTimeState

See Also

Introduction to HTML+TIME, repeatDur
广德县| 太谷县| 板桥市| 晋中市| 于田县| 海南省| 木兰县| 鸡泽县| 新建县| 揭阳市| 南乐县| 柏乡县| 上高县| 定襄县| 鄯善县| 密云县| 宁陵县| 遂宁市| 汶川县| 巨野县| 莲花县| 屏东县| 湘潭市| 边坝县| 靖西县| 关岭| 西华县| 乐安县| 阜南县| 陆良县| 通辽市| 钟祥市| 桦南县| 濮阳市| 邯郸县| 安龙县| 新沂市| 元谋县| 镇原县| 敦煌市| 上犹县|