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