¿¤·¹¸àÆ®ÀÇ ½Ã°£À» ÁßÁö½ÃŲ´Ù.

Àμö/ÆĶó¸ÞÅÍ
ÆĶó¸ÞÅÍ

ÆĶó¸ÞÅÍ´Â ¾ø´Ù.

¹Ýȯ°ª

¹Ýȯ°ªÀº ¾ø´Ù.

Ư±â

ÀÌ ¸Þ¼­µå´Â Áö¿ª½Ã°£ÀÇ ¿¤·¹¸àÆ®ÀÇ Á¾·á(end) ½Ã°£¿¡ µµ´ÞÇÏ¿´°Å³ª, ¿¤·¹¸àÆ®ÀÇ Áö¼Ó ½Ã°£(dur)ÀÌ Á¾·áµÇ¾úÀ» ¶§¿Í °°Àº ÀÛ¿ëÀÌ Àû¿ëµÈ´Ù. ¸ðµç ÀÚ½Ä ½Ã°£ ¿¤·¹¸àÆ®µéÀº Å뺸µÇ Áö¿ª½Ã°£¿¡ ¸Â°Ô ÁøÇàµÈ´Ù.

endElement ¸Þ¼­µå´Â onend À̺¥Æ®¸¦ ¹ß»ý½ÃŲ´Ù.

Àû¿ë
°³Ã¼scriptIE
ÂüÁ¶
beginElement, endElementAt, HTML+time

ÀÌ ¸Þ¼­µå´Â (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡¼­ Á¤ÀǵǾú´Ù.


Timer:0
div1Àº 2Ãʵ¿¾È µð½ºÇ÷¹À̵ȴÙ.
div2´Â 2Ãʵ¿¾È µð½ºÇ÷¹À̵ȴÙ.

½Ã°£ ¿¤·¹¸àÆ®¸¦ endElement ¸Þ¼­µå·Î Á¾·áÇÏ°í beginElement ¸Þ¼­µå·Î ½ÃÀÛÇÑ´Ù.

<HTML xmlns:t="urn:schemas-microsoft-com:time">
<STYLE>.time { behavior:url(#default#time2) }</STYLE>
<IMPORT namespace="t" implementation="#default#time2">
<B>Timer:</B><SPAN id="Timer" class="time" dur=".01" repeatCount="indefinite" fill="hold"
 onrepeat="innerText=parseInt(timeObj.currTimeState.activeTime);">0</SPAN><BR>

<T:excl id="timeObj" repeatDur="indefinite">
<DIV id="div1" class="time" begin="0" dur="2" style="border:solid 1 blue">div1Àº 2Ãʵ¿¾È µð½ºÇ÷¹À̵ȴÙ.</DIV>
<DIV id="div2" class="time" begin="2" dur="2" style="border:solid 1 red">div2´Â 2Ãʵ¿¾È µð½ºÇ÷¹À̵ȴÙ.</DIV>
</T:excl>

<BUTTON id="butEnd" onclick="timeObj.endElement()">½Ã°£ Á¾·á</BUTTON>
<BUTTON id="butBegin" onclick="timeObj.beginElement()">½Ã°£ ½ÃÀÛ</BUTTON>