最新国产好看的视频,伊人天堂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
太仆寺旗| 吉木萨尔县| 武宣县| 彝良县| 耒阳市| 察哈| 申扎县| 木兰县| 荆门市| 江西省| 全南县| 和顺县| 灌南县| 永康市| 犍为县| 成安县| 马龙县| 兴城市| 河北省| 大英县| 新闻| 家居| 孝昌县| 河间市| 宁国市| 怀远县| 宜黄县| 长泰县| 建始县| 商都县| 河津市| 来凤县| 绥中县| 高青县| 额尔古纳市| 洞口县| 丽水市| 乐东| 永胜县| 淮滨县| 西贡区|