¿¤·¹¸àÆ®ÀÇ È°¼º½Ã°£À» ¸ðü ½Ã°£¿¡ »óÀÀÇÏ´Â ½Ã°£À¸·Î º¯È¯ÇÑ´Ù.

Àμö/ÆĶó¸ÞÅÍ
activeTime
Çʼö¿ä¼ÒÀÌ°í, ¿¤·¹¸àÆ®ÀÇ È°¼º ½Ã°£À» ÁöÁ¤ÇÏ´Â Á¤¼ö°ªÀÌ´Ù.
À¯È¿ÇÑ °ªÀÇ ¹üÀ§´Â 0¿¡¼­ activeDur±îÁöÀÌ´Ù.
¹Ýȯ°ª
: (¸Þ¼­µå ¹Ýȯ°ª ½Ã°£ Á¤¼ö)

¸Þ¼­µå °ªÀº °³Ã¼ È°¼º ½Ã°£(activeTime)ÀÇ ¸ðü ½Ã°£¿¡ ÇØ´çÇÏ´Â ½Ã°£À¸·Î ÁöÁ¤ÇÏ´Â Á¤¼ö°ªÀÌ´Ù.

Àû¿ë
°³Ã¼scriptIE
ÂüÁ¶
+time2, activeTime, parentTimeBegin, parentTimeEnd activeTimeToSegmentTime

ÀÌ ¸Þ¼­µå´Â (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡ ´ëÇÑ MicrosoftÀÇ È®ÀåÀÌ´Ù.



activeTimeToParentTime ¸Þ¼­µå ¿¹Á¦ ½Ã°£¿ë±â ŸÀÌ¸Ó : 0
DivObj1
DivObj2
DivObj3

DivObj1ÀÇ activeTimeToParentTimeÀº 0 ÃÊÀÌ´Ù.

¸ðü½Ã°£¿¡¼­ÀÇ À§Ä¡´Â   ÃÊ ÀÌ´Ù.

DivObj2ÀÇ activeTimeToParentTimeÀº 0 ÃÊÀÌ´Ù.

¸ðü½Ã°£¿¡¼­ÀÇ À§Ä¡´Â   ÃÊ ÀÌ´Ù.

DivObj2ÀÇ activeTimeToParentTimeÀº 0 ÃÊÀÌ´Ù.

¸ðü½Ã°£¿¡¼­ÀÇ À§Ä¡´Â   ÃÊ ÀÌ´Ù.

activeTimeToSegmentTime ¸Þ¼­µåÀÇ °ª°ú ¿¤·¹¸àÆ® È°¼º ½Ã°£¿¡¼­ÀÇ ÇØ´ç ½Ã°£ÀÇ °³Ã¼ È°¼º½Ã°£°ªÀ» ºñ±³ÇÑ´Ù.

<HTML xmlns:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>activeTimeToParentTime ¸Þ¼­µå ¿¹Á¦</TITLE>
<IMPORT namespace="t" implementation="#default#time2">

<STYLE> .time{behavior: url(#default#time2);}</STYLE>
<SCRIPT>
function ShowtimePoint(){
  showA.innerHTML=div1.activeTimeToParentTime(t1.currTimeState.activeTime);
  showB.innerHTML=div2.activeTimeToParentTime(t1.currTimeState.activeTime);
  showC.innerHTML=div3.activeTimeToParentTime(t1.currTimeState.activeTime);
}
</SCRIPT>
</HEAD>

<BODY>

<B>½Ã°£¿ë±â ŸÀÌ¸Ó : </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;border:solid 1" class="time" begin="1s" dur="3s" timeaction="visibility">DivObj1</DIV>
<DIV id="div2" style="color:green;border:solid 1" class="time" begin="4s" dur="3s" timeaction="visibility">DivObj2</DIV>
<DIV id="div3" style="color:red;border:solid 1" class="time" begin="7s" dur="3s" timeaction="visibility">DivObj3</DIV>
</T:excl><BR>

<DL>
<DT>DivObj1˂ <SPAN class=method>activeTimeToParentTime</SPAN>˼
<SPAN class="time" dur="1" repeatCount="indefinite" style="color:blue"
  onrepeat="innerHTML=''+ parseInt(t1.currTimeState.activeTime)">0</SPAN> ÃÊÀÌ´Ù.<BR>
<DD><P>¸ðü½Ã°£¿¡¼­ÀÇ À§Ä¡´Â <SPAN id=showA style=color:blue> </SPAN> ÃÊ ÀÌ´Ù.</P>

<DT>DivObj2˂ <SPAN class=method>activeTimeToParentTime</SPAN>˼
<SPAN class="time" dur="1" repeatCount="indefinite" style="color:blue"
  onrepeat="innerHTML=''+ parseInt(t1.currTimeState.activeTime)">0</SPAN> ÃÊÀÌ´Ù.<BR>
<DD><P>¸ðü½Ã°£¿¡¼­ÀÇ À§Ä¡´Â <SPAN id=showB style=color:blue> </SPAN> ÃÊ ÀÌ´Ù.</P>

<DT>DivObj2˂ <SPAN class=method>activeTimeToParentTime</SPAN>˼
<SPAN class="time" dur="1" repeatCount="indefinite" style="color:blue"
  onrepeat="innerHTML=''+ parseInt(t1.currTimeState.activeTime)">0</SPAN> ÃÊÀÌ´Ù.<BR>
<DD><P>¸ðü½Ã°£¿¡¼­ÀÇ À§Ä¡´Â <SPAN id=showC style=color:blue> </SPAN> ÃÊ ÀÌ´Ù.</P>
</DL>
<BUTTON onclick="t1.beginElement()">´Ù½Ã ½ÃÀÛÇϱâ</BUTTON>
<BUTTON onclick="ShowtimePoint()">¸ðü ½Ã°£ º¸±â</BUTTON>
</BODY>
</HTML>