¿¤·¹¸àÆ®ÀÇ ½Ã°£À» ÁßÁö½ÃŲ´Ù.
ÆĶó¸ÞÅÍ´Â ¾ø´Ù.
¹Ýȯ°ªÀº ¾ø´Ù.
ÀÌ ¸Þ¼µå´Â Áö¿ª½Ã°£ÀÇ ¿¤·¹¸àÆ®ÀÇ Á¾·á(end) ½Ã°£¿¡ µµ´ÞÇÏ¿´°Å³ª, ¿¤·¹¸àÆ®ÀÇ Áö¼Ó ½Ã°£(dur)ÀÌ Á¾·áµÇ¾úÀ» ¶§¿Í °°Àº ÀÛ¿ëÀÌ Àû¿ëµÈ´Ù. ¸ðµç ÀÚ½Ä ½Ã°£ ¿¤·¹¸àÆ®µéÀº Å뺸µÇ Áö¿ª½Ã°£¿¡ ¸Â°Ô ÁøÇàµÈ´Ù.
endElement ¸Þ¼µå´Â onend À̺¥Æ®¸¦ ¹ß»ý½ÃŲ´Ù.
°³Ã¼ | script | IE |
---|
ÀÌ ¸Þ¼µå´Â (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡¼ Á¤ÀǵǾú´Ù.
½Ã°£ ¿¤·¹¸àÆ®¸¦ 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>