¼ø¼¿¡¼ Ç÷¹À̵Ǵ ÀÌÀü ¿¤·¹¸àÆ®°¡ Ç÷¹À̵ǵµ·Ï ½Ã°£À» Àç¼³Á¤ÇÑ´Ù.
ÆĶó¸ÞÅÍ´Â ¾ø´Ù.
¹Ýȯ°ªÀº ¾ø´Ù.
¼øÂ÷(sequence) ÁøÇàÀÇ Ã¹ ¿¤·¹¸àÆ®¿¡¼ ÀÌ ¸Þ¼µå°¡ ÀÛµ¿µÇ¸é, ±× ¿¤·¹·»Æ®ÀÇ Áö¿ª½Ã°£Àº 0À¸·Î Àç¼³Á¤µÈ´Ù.
ÀÌ ¸Þ¼µå´Â ¼øÂ÷ ÁøÇàÀÌ È°¼ºÈ µÇ¾úÀ» ¶§¸¸ À¯È¿ÇÏ´Ù.
°³Ã¼ | script | IE |
---|
ÀÌ ¸Þ¼µå´Â (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡ ´ëÇÑ MicrosoftÀÇ È®ÀåÀÌ´Ù.
<HTML xmlns:t="urn:schemas-microsoft-com:time"> <HEAD> <TITLE>nextElement¿Í prevElement ¸Þ¼µå</TITLE> <IMPORT namespace="t" implementation="#default#time2"> <STYLE> .time{ behavior: url(#default#time2);position:relative;top:0px;left:25px;width:100px;height:100px;} </STYLE> </HEAD> <BODY> <T:seq id="timeSeqObj" begin="indefinite;"> <DIV id="div1" class="time" style="background-color:yellow;" dur="5"></DIV> <DIV id="div2" class="time" style="background-color:blue;" dur="5"></DIV> <DIV id="div3" class="time" style="background-color:green;" dur="5"></DIV> <DIV id="div4" class="time" style="background-color:red;" dur="5"></DIV> </T:seq> <BUTTON id="b0" onclick="timeSeqObj.beginElement();" style="font-weight:bold;">½ÃÀÛ</BUTTON> <BUTTON id="b1" onclick="timeSeqObj.nextElement();">´ÙÀ½ ¿¤·¹¸àÆ®</BUTTON> <BUTTON id="b2" onclick="timeSeqObj.prevElement();">ÀÌÀü ¿¤·¹¸àÆ®</BUTTON> <BUTTON id="b3" onclick="timeSeqObj.endElement();">ÁßÁö</BUTTON> </BODY> </HTML>