°³Ã¼ÀÇ Á¾·á ½Ã°£À̳ª ¹Ýº¹µÇ´Â °³Ã¼¿¡¼­ ÇÑ °úÁ¤ÀÌ ³¡³ª´Â ½Ã°£ÀÇ °ªÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
: (¼Ó¼º ¹®ÀÚ¿­)
¼Ó¼º°ªÀº °³Ã¼ÀÇ Á¾·á ½Ã°£À̳ª ¹Ýº¹µÇ´Â °³Ã¼¿¡¼­ ÇÑ °úÁ¤ÀÌ ³¡³ª´Â ½Ã°£ÀÇ °ªÀ» ³ªÅ¸³»´Â ¹®ÀÚ¿­ÀÌ´Ù.

clock-value ½Ã°£ ¾ç½Ä¿¡ Á¤ÀÇµÈ h:min:s.f¿Í °°Àº ½Ã°£°ªÀÌ´Ù.
id.begin[+/-clock-value] ´Ù¸¥ °³Ã¼ÀÇ ½ÃÀ۽𣿡 »ó´ëÀûÀÎ Á¾·á½Ã°£À» Á¤ÀÇÇÑ´Ù.
¿¹¸¦ µé¾î °³Ã¼ A°¡ ½ÃÀÛÇÏ¿© 10ÃÊ ÈĶó¸é end="A.begin+10s"ÀÌ°í
clock-valueÀº ¼±ÅÃÀû ¿ä¼ÒÀÌ´Ù.
id.end[+/-clock-value] ´Ù¸¥ °³Ã¼ÀÇ Á¾·á½Ã°£¿¡ »ó´ëÀûÀÎ Á¾·á½Ã°£À» Á¤ÀÇÇÑ´Ù.
¿¹¸¦ µé¾î °³Ã¼ A°¡ Á¾·áÇϱâ 10ÃÊ ÀüÀ̶ó¸é end="A.begin-10s"ÀÌ°í
clock-valueÀº ¼±ÅÃÀû ¿ä¼ÒÀÌ´Ù.
indefinite ¿¤·¹¸àÆ® °³Ã¼°¡ ¹«ÇÑÁ¤ °è¼ÓµÈ´Ù.

ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.

Ư±â

end ¾ÖÆ®¸®ºäÆ®´Â ¸ðü ¿¤·¹¸àÆ®ÀÇ Å¸ÀÓ¶óÀÎÀÌ ½ÃÀ۵Ǵ ½Ã°£(0)¿¡ µû¸¥ Àý´ë ½Ã°£°ªÀÌ´Ù.
ÀÌ¿¡ ¹ÝÇØ dur ¾ÖÆ®¸®ºäÆ®´Â ¸ðüÀÇ begin ¾ÖÆ®¸®ºäÆ®¿¡ »ó´ëÀûÀÎ ½Ã°£°ªÀÌ´Ù.
dur¿Í end ¾ÖÆ®¸®ºäÆ®¸¦ ÇÑ°³Ã¼¿¡¼­ µ¿½Ã¿¡ »ç¿ëÇÏÁö ¸»¾Æ¾ß ÇÑ´Ù.

end ¾ÖÆ®¸®ºäÆ®´Â ¿©·¯°³ÀÇ end ½Ã°£°ªµéÀ» °¡Áú ¼ö ÀÖ´Ù.
¿¹¸¦µé¾î A °³Ã¼°¡ ÃÊÁ¡À» ¹Þ°í 10ÃÊ ÈĶó¸é end="A.onfocus+10s"·Î ÁöÁ¤ÇÑ´Ù.
¶ÇÇÑ A °³Ã¼°¡ ½ÃÀÛÇϱâ 10ÃÊ ÀüÀ̶ó¸é end="A.end-10s"·Î ÁöÁ¤ÇÑ´Ù.
ÆäÀÌÁö°¡ ·ÎµùµÈ´ÙÀ½ 10ÃÊÈÄ¿¡ ¿¤·¹¸àÆ®°¡ Á¾·áÇϰųª »ç¿ëÀÚ°¡ ÆäÀÌÁöÀ§¿¡¼­ °³Ã¼¸¦ Ŭ¸¯ÇÑ 1ÃÊ ÈÄ¿¡ µÇ·Á¸é Á¾·áÇÏ·Á¸é end="4; oObject.click+1"À¸·Î ÁöÁ¤ÇÑ´Ù.

time2 ´ë½Å¿¡ time ºñÇìÀ̹ö¿Í ¿¬°üÇÏ¿© ¿¤·¹¸àÆ®¸¦ »ç¿ëÇÒ ¶§, ¾ÖÆ®¸®ºäÆ® Á¦ÀÏ ¾Õ¿¡ t: À̸§ÀÚ¸®(namespace)¸¦ Ç¥½ÃÇÏ¿©¾ß ÇÑ´Ù. time ºñÇìÀ̹ö´Â clock-value Çü½Ä°ú °ª indefinite ¸¸À» Áö¿øÇÑ´Ù.

À̼ӼºÀº IE6ºÎÅÍ Transition ÇÊÅÍ¿¡µµ Àû¿ëµÈ´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
Âü°í
begin dur end endElement endElementAt

HTML+time

ÀÌ ¼Ó¼ºÀº (¿µ¹®) W3C SMIL 2.0(Synchronized Multimedia Integration Language)¿¡¼­ Á¤ÀǵǾú´Ù.


Áï½Ã ³ªÅ¸³ª ÃÑ 10ÃÊ ÈÄ¿¡ °¨ÃçÁø´Ù.
3ÃÊÈÄ¿¡ ³ªÅ¸³ª ÃÑ 10ÃÊ ÈÄ¿¡ °¨ÃçÁø´Ù.
6ÃÊÈÄ¿¡ ³ªÅ¸³ª ÃÑ 10ÃÊ ÈÄ¿¡ °¨ÃçÁø´Ù.

½ÃÀ۽ð£ÀÌ ´Ù¸£°í Á¾·á½Ã°£Àº °°´Ù.

<HTML xmlns:t="urn:schemas-microsoft-com:time">
<HEAD>
<STYLE> .time{ behavior: url(#default#time2);}</STYLE>
<IMPORT namespace="t" implementation="#default#time2">
</HEAD>
<BODY>
<DIV id="div1Obj" class="time divBlock" begin="0" end="10" timeaction="visibility" style="color:red;border:solid 1 red">
<IMG src=../../gif/rfexample.gif> Áï½Ã ³ªÅ¸³ª ÃÑ 10ÃÊ ÈÄ¿¡ °¨ÃçÁø´Ù.
</DIV>
<DIV id="div2Obj" class="time divBlock" begin="3" end="10" timeaction="visibility" style="color:green;border:solid 1 green">
<IMG src=../../gif/rfexample.gif> 3ÃÊÈÄ¿¡ ³ªÅ¸³ª ÃÑ 10ÃÊ ÈÄ¿¡ °¨ÃçÁø´Ù.
</DIV>
<DIV id="div3Obj" class="time divBlock" begin="6" end="10" timeaction="visibility" style="color:blue;border:solid 1 blue">
<IMG src=../../gif/rfproperty.gif> 6ÃÊÈÄ¿¡ ³ªÅ¸³ª ÃÑ 10ÃÊ ÈÄ¿¡ °¨ÃçÁø´Ù.
</DIV>
<BUTTON id="butObj" onclick="div1Obj.beginElement();div2Obj.beginElement();div3Obj.beginElement();">´Ù½Ã ½ÃÀÛ</BUTTON><BR>
<SCRIPT>
document.write('div1Obj.begin='+div1Obj.begin+', div1Obj.end='+div1Obj.end+'<BR>');
document.write('div2Obj.begin='+div2Obj.begin+', div2Obj.end='+div2Obj.end+'<BR>');
document.write('div3Obj.begin='+div3Obj.begin+', div3Obj.end='+div3Obj.end+'<BR>');
</SCRIPT>
</BODY>
</HTML>

Áï½Ã ³ªÅ¸³ª¼­ ´ÜÃ߸¦ Ŭ¸¯ÇÏ¸é °¨ÃçÁø´Ù.

end ¾ÖÆ®¸®ºäÆ®¸¦ ´ÜÃß Å¬¸¯ À̺¥Æ®¿Í ¿¬°áÇÏ¿´´Ù.

<HTML xmlns:t="urn:schemas-microsoft-com:time">
<HEAD>
<STYLE>.time{behavior: url(#default#time2);}</STYLE>
</HEAD>
<BODY>
<DIV id="divAObj" class="time" begin="0" end="but1Obj.click" timeAction="display" style="color:red;border:solid 1 red">
<IMG src=../../gif/rfexample.gif> Áï½Ã ³ªÅ¸³ª¼­ ´ÜÃ߸¦ Ŭ¸¯ÇÏ¸é °¨ÃçÁø´Ù.
</DIV>
<BUTTON id="but1Obj">¹®´Ü °¨Ãß±â</BUTTON>
<BUTTON id="but2Obj" onclick="divAObj.beginElement()">´Ù½Ã ½ÃÀÛ</BUTTON><BR>
<SCRIPT>
document.write('divAObj.end='+divAObj.end);
</SCRIPT>
</BODY>
</HTML>


<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 id="tfObj" type="fade" dur="8" end="4" targetElement="divBObj"/>
<DIV class="time" id="divBObj" dur="indefinite"
  style="position:relative;left:0;width:400;height:100;background-image:url(../../gif/flower1.jpg);"></DIV>
<BUTTON onclick="divBObj.beginElement()">´Ù½Ã ½ÃÀÛ</BUTTON><BR>
<SCRIPT>
document.write('divBObj.end='+tfObj.end+'<BR>');
document.write('divBObj.targetElement='+tfObj.targetElement);
</SCRIPT>
</BODY>
</HTML>


DIV ³»¿ë

end ¾ÖÆ®¸®ºäÆ®°¡ ¿©·¯ ¹æ½ÄÀ¸·Î Á¾·áµÈ´Ù.
divCobj °³Ã¼´Â 8ÃÊ ÈÄ, ´ÜÃ߸¦ Ŭ¸¯ÇÏ°í 1ÃÊ ÈÄ, ȤÀº ¸¶¿ì½º Ä¿¼­¸¦ ¹ÛÀ¸·Î À̵¿ÇÏ°í 1ÃÊ ÈÄ¿¡ Á¾·áµÈ´Ù.

<HTML xmlns:t="urn:schemas-microsoft-com:time">
<HEAD>
<STYLE>
.time{behavior: url(#default#time2);}
#divCobj{ border:solid 2 blue;padding:10;font:14pt;color:yellow;font-weight:bold;background-color:green;width:300;}
</STYLE>
<IMPORT namespace=t urn="urn:schemas-microsoft-com:time" implementation="#default#time2" />
</HEAD>
<BODY>
<T:PAR id="parObj" begin="1;butCobj.click">
<DIV id="divCobj" begin="1" class="time" end="8;butCobj.click+1;parObj.mouseleave+1">
<T:TRANSITIONFILTER begin="divCobj.begin" dur="3" mode="in" type="fade"/>
<T:TRANSITIONFILTER begin="divCobj.End-1;" dur="1" mode="out" type="pushWipe"/>
<IMG src="../../gif/flower1.jpg" width=300><BR>
DIV ³»¿ë</DIV>
</T:PAR>
<BUTTON id="butCobj" onclick="parObj.beginElement()">´Ù½Ã ½ÃÀÛ</BUTTON><BR>
<SCRIPT>
document.write('parObj.begin=<FONT color=blue>'+parObj.begin+'</FONT><BR>');
document.write('divCobj.end=<FONT color=blue>'+divCobj.end+'</FONT><BR>');
document.write('divCobj.targetElement=<FONT color=blue>'+tfObj.targetElement+'</FONT>');
</SCRIPT>
</BODY>
</HTML>