½Ã°£ °³Ã¼°¡ ¹Ýº¹µÇ´Â Ƚ¼ö¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¼Ó¼º°ªÀº ½Ã°£°³Ã¼°¡ ¹Ýº¹µÇ´Â Ƚ¼ö¸¦ ³ªÅ¸³»´Â ¹®ÀÚ¿À̳ª ºÎµ¿¼Ò¼öÁ¡ ¼öÄ¡°ªÀÌ´Ù.
indefinite | ½Ã°£°³Ã¼°¡ ¹«ÇÑÁ¤ ¹Ýº¹µÈ´Ù. |
ºÎµ¿¼Ò¼öÁ¡ ¼öÄ¡°ª | ºÎµ¿¼Ò¼öÁ¡ ¼öÄ¡°ª 0ÀÌ»óÀ̸é ÁöÁ¤ÇÑ È½¼ö¸¸Å ¹Ýº¹µÈ´Ù. |
1 | µðÆúÆ®À̸ç, Çѹø¸¸ Ç÷¹À̵ȴÙ. |
ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ë ȤÀº Àбâ/¾²±â·Î µðÆúÆ®°ªÀº 1ÀÌ´Ù.
IE6¿¡¼ transitionFilter¿¡ repeatCount°¡ Àû¿ëµÇ±â ½ÃÀÛÇÏ¿´´Ù.
ÀÌ ¼Ó¼ºÀº time ºñÇìÀ̹öÀÇ repeat ¼Ó¼ºÀ» °æÁúÇÑ °ÍÀÌ´Ù.
repeatCount ¼Ó¼ºÀÌ ºÎµ¿¼Ò¼öÁ¡ ¼öÄ¡°ªÀ̸é, ¿¤·¹¸àÆ®ÀÇ ½Ã°£Àº ºÎµ¿¼Ò¼öÁ¡ ¼öÄ¡°ª¿¡ ´Ü¼ø Áö¼Ó½Ã°£(simpleDur)À» °öÇÑ °ªÀÌ µÈ´Ù. ¿¹¸¦µé¾î t:SEQÀÇ simpleDur °ªÀÌ 10 ÃÊÀÌ°í repeatCount°¡ 2.5ÀÌ¸é ¸ðµÎ 25ÃÊ°£ Çø®À̵ȴÙ. ¿©±â¼ µÎ¹øÀÇ ¿ÏÀüÇÑ Ç÷¹ÀÌ°¡ ÀϾ°í ÃÖÁ¾ ¹Ýº¹Àº 5ÃÊ(10*.5)µ¿¾ÈÀÎ ¹Ý¸¸ ÀϾÙ.
ÇöÀçÀÇ ¹Ýº¹ ·çÇÁ´Â È°¼º Áß¿¡ ÀÖ´Â currTimeState °³Ã¼¿¡¼ repeatCount ¼Ó¼ºÀ¸·Î ¾òÀ» ¼ö ÀÖ´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
ÀÌ ¼Ó¼ºÀº (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡¼ Á¤ÀǵǾú´Ù.
¼¼°³ÀÇ ¹®´Ü ½Ã°£ÀÌ ¼¼¹ø ¹Ýº¹ÇÑ´Ù.
¹®´Ü 1¹øÀÌ È°¼ºÈµÇ¾ú´Ù. ¹®´Ü 2¹øÀÌ È°¼ºÈµÇ¾ú´Ù. ¹®´Ü 3¹øÀÌ È°¼ºÈµÇ¾ú´Ù.
<HTML> <HEAD> <STYLE> .time{ behavior: url(#default#time2);}</STYLE> </HEAD> <BODY> <P>¼¼°³ÀÇ ¹®´Ü ½Ã°£ÀÌ ¼¼¹ø ¹Ýº¹ÇÑ´Ù. <SPAN id="parentObj" class=time begin="0" dur="9" timeContainer="PAR" repeatCount="3" timeAction="display"> <P id="span1" class=time style="color:Red;" begin="0" dur="3" timeAction="visibility">¹®´Ü 1¹øÀÌ È°¼ºÈµÇ¾ú´Ù.</P> <P id="span2" class=time style="color:Blue;" begin="3" dur="3" timeAction="visibility">¹®´Ü 2¹øÀÌ È°¼ºÈµÇ¾ú´Ù.</P> <P id="span2" class=time style="color:Green;" begin="6" dur="3" timeAction="visibility">¹®´Ü 3¹øÀÌ È°¼ºÈµÇ¾ú´Ù.</P> </SPAN></P> <BUTTON onclick="parentObj.beginElement()">´Ù½Ã ½ÃÀÛ</BUTTON> </BODY> </HTML>
transitionFilterÀÇ ¹Ýº¹È½¼ö¸¦ ¹«ÇÑÁ¤À¸·Î ¼³Á¤ÇÏ¿´Áö¸¸ divObj´Â ÁöÁ¤µÈ 9ÃÊ ½Ã°£ µ¿¾È¸¸ Áö¼ÓÇÑ´Ù.
<HTML xmlns:t="urn:schemas-microsoft-com:time"> <HEAD> <STYLE>.time{behavior: url(#default#time2);}</STYLE> <IMPORT namespace=t urn="urn:schemas-microsoft-com:time" implementation="#default#time2" /> </HEAD> <BODY> <T:TRANSITIONFILTER repeatCount="indefinite" type="barnDoorWipe" dur="3" targetElement="divObj" /> <DIV class="time" id="divObj" dur="9" style="position:relative;left:50;width:520;height:120;background-image:url('../../gif/flower.jpg');background-repeat: no-repeat;"> </DIV> <BUTTON onclick="divObj.beginElement()">´Ù½Ã ½ÃÀÛ</BUTTON> </BODY> </HTML>