ÁöÁ¤µÈ behavior°¡ ÷ºÎµÈ ¸ðµç °³Ã¼µéÀÇ Ä÷º¼ÇÀ» ¹ÝȯÇÑ´Ù.

Àμö/ÆĶó¸ÞÅÍ
sUrn
ÇʼöÀûÀÎ ¿ä¼ÒÀ̸ç, ºñÇìÀ̹öÀÇ ÁÖ¼Ò URN(Uniform Resource Name)À» ÁöÁ¤ÇÏ´Â ¹®ÀÚ¿­ÀÌ´Ù.
¹Ýȯ°ª

¹Ýȯ°ª oCollÀº ¼º°øÀûÀÌ¸é °³Ã¼µéÀÇ Ä÷º¼ÇÀ», ½ÇÆÐÇϸé nullÀ» ¹ÝȯÇÑ´Ù.

Ư±â

ÀÌ ¸Þ¼­µå´ÂºñÇìÀ̹ö°¡ ÷ºÎµÈ °ÍÀÌ ¾øÀ¸¸é ºó Ä÷º¼ÇÀ» ¹ÝȯÇÑ´Ù.

length ¼Ó¼ºÀ» »ç¿ëÇÏ¿© Ä÷º¼Ç¿¡ Æ÷ÇԵǾî ÀÖ´Â °³Ã¼µéÀÇ °¹¼ö¸¦ ¾Ë ¼ö ÀÖ°í, item ¸Þ¼­µå¸¦ »ç¿ëÇÏ¿© Ä÷º¼Ç¿¡¼­ ƯÁ¤ Ç׸ñ¸¦ ¾òÀ» ¼ö ÀÖ´Ù.

Àû¿ë
°³Ã¼scriptIE
ÂüÁ¶
behaviorUrns

¹®¼­ ŸÀ̸Ó: 0
½Ã°£¿ë±â ŸÀ̸Ó: 0

urns ¸Þ¼­µå·Î Ä÷º¼ÇÀ¸·ÎºÎÅÍ ÁöÁ¤µÈ ºñÇìÀ̹ö°¡ ÷ºÎµÈ °³Ã¼µéÀÇ Ä÷º¼ÇÀ» ¾ò´Â´Ù.

<HTML xmlns:t ="urn:schemas-microsoft-com:time">
<HEAD>
<IMPORT namespace="t" implementation="#default#time2">
<STYLE>.time{ behavior: url(#default#time2);}</STYLE>
<SCRIPT>
function showColl(){
  var coll = document.all.urns('#default#time2');
  var str = 'coll.length='+coll.length+'<BR>';
  if (coll != null){
    for (i=0; i < coll.length; i++) str += 'coll.item('+i+').id='+coll.item(i).id + '<BR>';
    showA.innerHTML=str;
  }
}
</SCRIPT>
</HEAD>
<BODY>
¹®¼­ ŸÀ̸Ó:
<SPAN id="Timer1" class="time" dur="1" repeatCount="indefinite"
  onrepeat="innerText=parseInt(Timer1.currTimeState.activeTime);" style="color:red">0</SPAN><BR>
½Ã°£¿ë±â ŸÀ̸Ó:
<SPAN id="Timer2" class="time" dur="1" repeatCount="indefinite"
 onrepeat="innerText=parseInt(Timer2.currTimeState.activeTime);" style="color:blue">0</SPAN><BR>

<BUTTON onclick=showColl()>urn º¸±â</BUTTON>
<DIV id=showA></DIV>