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

simpleDur Property

Internet Development Index

Retrieves the duration of a repeat iteration.

Syntax

[ fTime = ] currTimeState.simpleDur

Possible Values

fTime Floating-point that receives the amount of time in each repeat iteration of a element's timeline.

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

Remarks

The simpleDur property includes the additional time required to play the element if the autoReverse property is set to true.

Example

This example uses the simpleDur property to retrieve the duration of a repeat 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.
}
function getSimpleDur()
{
s1.innerHTML = "Duration of each repeat iteration:&nbsp;" +
(oAnim.currTimeState.simpleDur) + ' seconds.';
}
</SCRIPT>
</HEAD>
<BODY TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF"
LINK="#000000" VLINK="#808080" ALINK="#000000">
<B>Timer:</B>
<SPAN id="Timer" class="time" dur=".01" repeatCount="indefinite" fill="hold"
onrepeat="innerText=parseInt(document.body.currTimeState.activeTime);">0
</SPAN>
<BR><BR>
<DIV ID="oCount">Current iteration: 1</DIV>
<SPAN id="s1">Duration of each repeat iteration:</SPAN>
<DIV ID="oDiv" CLASS="time" STYLE="position:relative;top:25px;left:50px;
height:100;width:100px;background-color:blue;"></DIV>
<t:ANIMATEMOTION ID="oAnim" targetElement="oDIV" to="325,0"
begin="0; indefinite;" dur="2" autoReverse="true" repeatCount="5"
onrepeat="fnRepeat()"/>
<BR><BR>
<BUTTON id="b1" onclick="getSimpleDur()">Click for the duration of each
repeat iteration</BUTTON>
<BUTTON id="b2" onclick="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, activeDur, dur, mediaDur, repeatDur, segmentDur
吉林市| 驻马店市| 福建省| 潮安县| 平和县| 洞口县| 涟源市| 德惠市| 铁力市| 南陵县| 海兴县| 合作市| 平陆县| 盈江县| 井冈山市| 嵊州市| 建始县| 靖远县| 内黄县| 东乡县| 海伦市| 利津县| 舞阳县| 山东省| 如皋市| 罗甸县| 阿拉善左旗| 壶关县| 龙江县| 宾阳县| 横山县| 河北省| 衡山县| 清水河县| 蒙阴县| 若尔盖县| 宁明县| 合川市| 类乌齐县| 双牌县| 佛教|