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

activeDur Property

Internet Development Index

Retrieves the total duration of the timeline.

Syntax

[ iTime = ] currTimeState.activeDur

Possible Values

iTimeInteger that receives the total duration of the timeline, in seconds.

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

Remarks

This property includes the repeatDur time and the effect of the autoReverse property, if applicable. For example, a timeline with a duration (dur) of five seconds, a repeatCount of 3, and autoReverse set to true would yield an activeDur of 30 seconds.

Example

This example demonstrates how to use the activeDur property to retrieve the total duration of a timeline.

<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>activeDur Property</TITLE>
<SCRIPT>
function getActiveDur(){
var aDur = t1.currTimeState.activeDur;
alert('Total duration: ' + aDur + ' seconds.');
}
</SCRIPT>
<STYLE>
.time { behavior: url(#default#time2) }
</STYLE>
<?IMPORT namespace="t" implementation="#default#time2">
</HEAD>
<BODY>
<!-- This timeline has a duration (dur) of three seconds, a repeatCount of 3,
and autoReverse set to true, yielding an activeDur value of 18 seconds. -->
<t:excl id="t1" dur="3" repeatcount="3" autoreverse="true">
<DIV ID="div1" CLASS="time" BEGIN="0" DUR="1">First line of text.</DIV>
<DIV ID="div2" CLASS="time" BEGIN="1" DUR="1">Second line of text.</DIV>
<DIV ID="div3" CLASS="time" BEGIN="2" DUR="1">Third line of text.</DIV>
</t:excl>
<BR>
<BUTTON id="b1" onclick="getActiveDur()">Get total duration of timeline.</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, dur, mediaDur, repeatDur, segmentDur, simpleDur
常德市| 仁怀市| 高陵县| 博湖县| 准格尔旗| 宜都市| 定襄县| 斗六市| 陈巴尔虎旗| 咸丰县| 油尖旺区| 大连市| 中卫市| 府谷县| 靖远县| 赤城县| 宣恩县| 杂多县| 屏南县| 卓尼县| 当涂县| 临桂县| 兴和县| 浦北县| 南投市| 化德县| 新乐市| 保康县| 湖州市| 新宁县| 茂名市| 宝鸡市| 松潘县| 海口市| 邛崃市| 湘潭县| 甘泉县| 永定县| 建湖县| 莆田市| 乌兰浩特市|