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

simpleTime Property

Internet Development Index

Retrieves an object's current point along its timeline from zero to its dur value.

Syntax

[ iTime = ] currTimeState.simpleTime

Possible Values

iTimeInteger that receives the current point in time along a timeline. The value of this property ranges from 0 to the duration (dur) of the element. If the element has the autoReverse property set to true, the simpleTime property will begin decreasing until it reaches 0.

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

Remarks

This property supersedes the localTime property.

Run the example below and note how simpleTime increments as the object moves forward, decrements as the object moves backward, then starts over from zero when the repeatCount increments.

Example

This example shows how activeTime, segmentTime, and simpleTime relate to each other.

<HTML XMLNS:t ="urn:schemas-microsoft-com:time">
<HEAD>
<STYLE>
.time{behavior: url(#default#time2);}
</STYLE>
<?IMPORT namespace="t" implementation="#default#time2">
<SCRIPT LANGUAGE="JScript">
window.onload = fnOnLoad;
function fnOnLoad()
{
// Set up a timer to watch the time values.
window.setInterval(fnUpdateTimes, 100);
}
function fnUpdateTimes()
{
oSimpleTime.innerHTML = "&nbsp;simpleTime:&nbsp;" +
(oAnim.currTimeState.simpleTime);
oSegmentTime.innerHTML = "segmentTime:&nbsp;" +
(oAnim.currTimeState.segmentTime);
oActiveTime.innerHTML = "&nbsp;activeTime:&nbsp;" +
(oAnim.currTimeState.activeTime);
}
function fnRepeat()
{
oRepeatCount.innerHTML = "repeatCount:&nbsp;" +
(oAnim.currTimeState.repeatCount + 1);
// Add one because repeatCount is zero-based.
}
</SCRIPT>
</HEAD>
<BODY>
<DIV STYLE="font-family:courier;">
<DIV ID="oRepeatCount">repeatCount: 1</DIV>
<DIV ID="oSimpleTime">&nbsp;simpleTime:&nbsp;0</DIV>
<DIV ID="oSegmentTime">segmentTime:&nbsp;0</DIV>
<DIV ID="oActiveTime">&nbsp;activeTime:&nbsp;0</DIV>
</DIV>
<DIV ID="oDiv" CLASS="time" STYLE="position:absolute; left:50px;
top:250px; width:100px; height:100px; background-color:blue;"></DIV>
<t:ANIMATEMOTION ID="oAnim" targetElement="oDIV" to="340,40" dur="2"
autoReverse="true" repeatCount="5" onrepeat="fnRepeat()" fill="freeze"/>
</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

activeTime, segmentTime, Introduction to HTML+TIME
通榆县| 石门县| 汶川县| 衡水市| 聂拉木县| 广宗县| 泰安市| 宁远县| 鹰潭市| 阿鲁科尔沁旗| 通城县| 澄迈县| 松江区| 阜宁县| 建昌县| 金阳县| 日喀则市| 芜湖县| 互助| 阿拉尔市| 永清县| 潮州市| 博乐市| 普兰县| 泉州市| 鲁山县| 盐边县| 淮北市| 濮阳市| 驻马店市| 东乌| 景洪市| 甘南县| 汉沽区| 新河县| 芦山县| 托里县| 财经| 肃宁县| 延边| 什邡市|