¸ðü ½Ã°£ÀÇ ½Ã°£°ªÀ» ¿¤·¹¸àÆ®ÀÇ ÇØ´çÇÏ´Â È°¼º½Ã°£À¸·Î ȯ»êÇÏ¿© ¹ÝȯÇÑ´Ù.
¹Ýȯ°ª iTimeÀº ¸ðü ½Ã°£ÀÇ ½Ã°£°ªÀ» ¿¤·¹¸àÆ®ÀÇ ÇØ´çÇÏ´Â È°¼º½Ã°£À¸·Î ȯ»êÇÑ Á¤¼ö°ªÀÌ´Ù.
°³Ã¼ | script | IE |
---|
ÀÌ ¸Þ¼µå´Â (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡ ´ëÇÑ MicrosoftÀÇ È®ÀåÀÌ´Ù.
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>