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

activeTimeToParentTime Method

Internet Development Index

Converts a value in the element's active timeline to the corresponding point in the parent timeline.

Syntax

parentTime = object.activeTimeToParentTime(activeTime)

Parameters

activeTime Required. Integer that specifies a point on the element's active timeline. Legal values range from 0 to activeDur.

Return Value

Integer that specifies the point in the parent timeline that corresponds to activeTime.

Example

This example uses the activeTimeToParentTime method to compare the value of the element's active timeline to the corresponding point in the parent timeline. To see each element's point in the parent timeline, click its activeTimeToParentTime button.

<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>activeTimeToParentTime Method</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY ID="b1" TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF"
LINK="#000000" VLINK="#808080" ALINK="#000000">
<B>Time container timer:</B>
<SPAN class="time" dur="1" repeatCount="indefinite"
onrepeat="innerText=parseInt(t1.currTimeState.activeTime);">0</SPAN>
<BR>
<t:excl id="t1" class="time" dur="10s" autoReverse="true">
<DIV id="div1" style="color:blue" class="time" begin="1s" dur="3s"
timeAction="visibility">First Line</DIV>
<DIV id="div2" style="color:green" class="time" begin="4s" dur="3s"
timeAction="visibility">Second Line</DIV>
<DIV id="div3" style="color:red" class="time" begin="7s" dur="3s"
timeAction="visibility">Third Line</DIV>
</t:excl>
<BR>
<BUTTON class="time" dur="1" repeatCount="indefinite"
onclick="alert('Point in parent timeline: ' +
div1.activeTimeToParentTime(t1.currTimeState.activeTime));"
onrepeat="innerText='First line\'s activeTimeToParentTime at ' +
parseInt(t1.currTimeState.activeTime) + ' seconds';">
First line's activeTimeToParentTime at 0 seconds
</BUTTON>
<BR>
<BUTTON class="time" dur="1" repeatCount="indefinite"
onclick="alert('Point in parent timeline: ' +
div2.activeTimeToParentTime(t1.currTimeState.activeTime));"
onrepeat="innerText='Second line\'s activeTimeToParentTime at ' +
parseInt(t1.currTimeState.activeTime) + ' seconds';">
Second line's activeTimeToParentTime at 0 seconds
</BUTTON>
<BR>
<BUTTON class="time" dur="1" repeatCount="indefinite"
onclick="alert('Point in parent timeline: ' +
div3.activeTimeToParentTime(t1.currTimeState.activeTime));"
onrepeat="innerText='Third line\'s activeTimeToParentTime at ' +
parseInt(t1.currTimeState.activeTime) + ' seconds';">
Third line's activeTimeToParentTime at 0 seconds
</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 method is a Microsoft extension to Synchronized Multimedia Integration Language (SMIL) Non-Microsoft link.

Applies To

t:TRANSITIONFILTER, t:ANIMATE, t:ANIMATECOLOR, t:ANIMATEMOTION, t:ANIMATION, t:AUDIO, t:EXCL, t:IMG, t:MEDIA, t:PAR, t:REF, t:SEQ, t:SET, time2, t:VIDEO

See Also

Introduction to HTML+TIME, activeTime, parentTimeBegin, parentTimeEnd
临夏县| 茶陵县| 德阳市| 博爱县| 玉门市| 苏尼特左旗| 井研县| 西林县| 横山县| 卓资县| 苍山县| 栾川县| 洪江市| 岑溪市| 四会市| 威远县| 张家港市| 长春市| 邹平县| 二手房| 读书| 酉阳| 高雄市| 华阴市| 博罗县| 柳河县| 东光县| 志丹县| 台安县| 信阳市| 伊金霍洛旗| 徐汇区| 台山市| 大庆市| 中牟县| 富民县| 基隆市| 榆社县| 固镇县| 项城市| 丘北县|