autoReverse¸¦ Æ÷ÇÔÇÏ¿© ¿¤·¹¸àÆ®ÀÇ Áö¼Ó ½Ã°£À» ÃÊ´ÜÀ§·Î ¹ÝȯÇÑ´Ù.
¼Ó¼º°ªÀº autoReverse¸¦ Æ÷ÇÔÇÏ¿© ¿¤·¹¸àÆ®ÀÇ Áö¼Ó ½Ã°£À» ÃÊ´ÜÀ§·Î ³ªÅ¸³»´Â Á¤¼ö°ªÀÌ´Ù.
ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ëÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
ÀÌ ¼Ó¼ºÀº (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡ Microsoft°¡ È®ÀåÇÑ °ÍÀÌ´Ù.
¹®´Ü 1Àº ´ÙÀ½ ¿¤·¹¸àÆ®°¡ ÁߴܽÃų ¶§±îÁö Áö¼ÓµÈ´Ù(5ÃÊ°£) ±×¸®°í 10ÃÊ Áö¼Ó½Ã°£µ¿¾È ȸº¹µÈ´Ù.
¹®´Ü 2´Â 5ÃÊ°£ µð½ºÇ÷¹À̵ȴÙ. ±× ÈÄ ¹®´Ü 1ÀÌ È¸º¹µÈ´Ù.
<HTML XMLNS:t ="urn:schemas-microsoft-com:time"> <HEAD> <IMPORT namespace="t" implementation="#default#time2"> <SCRIPT> function showDur(){ s1.innerText=d1.currTimeState.segmentDur; s2.innerText=d2.currTimeState.segmentDur; } </SCRIPT> <STYLE>.time{ behavior: url(#default#time2);}</STYLE> </HEAD> <BODY> <t:EXCl id="t1" onbegin="showDur();"> <t:PRIORITYCLASS peers="pause"> <SPAN id="d1" class="time" begin="0" dur="10" style="background-color:ffc"> <P>¹®´Ü 1Àº ´ÙÀ½ ¿¤·¹¸àÆ®°¡ ÁߴܽÃų ¶§±îÁö Áö¼ÓµÈ´Ù(5ÃÊ°£) ±×¸®°í 10ÃÊ Áö¼Ó½Ã°£µ¿¾È ȸº¹µÈ´Ù.</P> </SPAN> <SPAN id="d2" class="time" begin="5" dur="5" style="background-color:cff"> <P>¹®´Ü 2´Â 5ÃÊ°£ µð½ºÇ÷¹À̵ȴÙ. ±× ÈÄ ¹®´Ü 1ÀÌ È¸º¹µÈ´Ù.</P> </SPAN> </t:PRIORITYCLASS> </t:EXCL><BR> ¹®´Ü 1ÀÇ Áö¼Ó½Ã°£ d1.currTimeState.segmentDur=<B><SPAN id="s1"></SPAN></B> ÃÊ<BR> ¹®´Ü 2ÀÇ Áö¼Ó½Ã°£ d2.currTimeState.segmentDur=<B><SPAN id="s2"></SPAN></B> ÃÊ<BR> <BUTTON onclick="exclObj.beginElement()">´Ù½Ã ½ÃÀÛ</BUTTON> </BODY> </HTML>