¸ðü ½Ã°£ÀÇ ½Ã°£°ªÀ» ¿¤·¹¸àÆ®ÀÇ ÇØ´çÇÏ´Â È°¼º½Ã°£À¸·Î ȯ»êÇÏ¿© ¹ÝȯÇÑ´Ù.

Àμö/ÆĶó¸ÞÅÍ
parentTime
ÇʼöÀûÀÎ ¿ä¼ÒÀ̸ç, ¸ðü¿¡¼­ÀÇ ½Ã°£À» ÁöÁ¤ÇÏ´Â Á¤¼ö°ªÀÌ´Ù.

¹Ýȯ°ª

¹Ýȯ°ª iTimeÀº ¸ðü ½Ã°£ÀÇ ½Ã°£°ªÀ» ¿¤·¹¸àÆ®ÀÇ ÇØ´çÇÏ´Â È°¼º½Ã°£À¸·Î ȯ»êÇÑ Á¤¼ö°ªÀÌ´Ù.

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

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


parentTimeToActiveTime Method
DIV1 ½ÃÀÛµÊ!

(1, 2, 3, 4, 5)
°á°ú Ç¥½Ãâ

parentTimeToActiveTime ¸Þ¼­µå¸¦ »ç¿ëÇÏ¿© È°¼º ½Ã°£¿¡ ÇØ´çÇÏ´Â ¸ðü ½Ã°£ °ªÀ» µð½ºÇ÷¹ÀÌÇÑ´Ù. dur °ªÀÌ 5À̹ǷΠ¸ðü ½Ã°£Àº 1, 2, 3, 4, 5 ÁßÀÇ ÇϳªÀÌ´Ù.

<HTML>
<XML:namespace prefix="t"/>
<HEAD>
<TITLE>parentTimeToActiveTime Method</TITLE>
<IMPORT namespace="t" implementation="#default#time2">
<STYLE>.time{behavior: url(#default#time2);}</STYLE>
<SCRIPT>
function doShow(itime){
  showA.innerHTML='È°¼º ½Ã°£¿¡¼­ÀÇ À§Ä¡´Â <B style=color:red>'+div1.parentTimeToActiveTime(itime)+'</B>ÀÌ´Ù.';
}
</SCRIPT>
</HEAD>
<BODY>
<T:excl id="t1" repeatCount="3">
<DIV id="div1" class="time" style="color:blue;font-size:20pt" begin="1s" dur="5s">DIV1 ½ÃÀÛµÊ!</DIV>
</T:excl><BR>
<INPUT id=inObj value="1" size="3" onchange="butObj.innerText='parentTimeToActiveTime('+this.value+')'">
(1, 2, 3, 4, 5)
<BUTTON id=butObj onclick="doShow(inObj.value)">parentTimeToActiveTime(1)</BUTTON>
<DIV id=showA>°á°ú Ç¥½Ãâ</DIV>
</BODY>
</HTML>