Explorer¿¡ ÀÇÇÏ¿© Áö¿øµÇ´Â ±â´É°ú Á¤º¸, ºê¶ó¿ìÀúÀÇ ÇÊ¿ä¿¡µû¶ó ÄÞÆ÷ÅÙÆ® ¼³Ä¡ ¹æ½ÄÀ» Á¦°øÇÑ´Ù.

script object.style.behavior="url('#default#clientCaps')";
object.addBehavior('#default#clientCaps');
HTML <ELEMENT style="behavior:url('#default#clientCaps')" id=idVal>
XML <prefix:CustomTag id=idVal style="behavior:url('#default#clientCaps')" />
Àμö
prefix CustomTag°ú ¿¬°üµÈ XML namespace Á¢µÎ¾îÀÌ´Ù. HTML ű׿¡¼­ xmlns ¾ÖÆ®¸®ºäÆ®·Î ¼³Á¤ÇÑ´Ù.
CustomTag ÀÛ¼ºÀÚ°¡ Á¤ÀÇÇÏ¿© »ç¿ëÇϴ ű×ÀÌ´Ù.
idVal °³Ã¼À» ´ëÇ¥ÇÏ´Â À¯ÀÏÇÑ ÀνÄÀÚ ¹®ÀÚ¿­ÀÌ´Ù.
Ư±â

window.onload À̺¥Æ®°¡ ¹ß»ýµÇ±â Àü¿¡´Â ½ºÅ©¸³Æ®·Î ¾Æ·¡ ¼Ó¼ºÀ̳ª À̺¥Æ®¿¡ Á¢¼ÓÇÒ ¼ö ¾ø´Ù. ¹®¼­°¡ ¿ÏÀüÈ÷ ·ÎµùµÇ°í, onload À̺¥Æ®°¡ ¹ß»ýµÇ¸é ÇØ´ç ÆäÀÌÁöÀÇ ºñÇìÀ̹ö°¡ Àû¿ëµÇ°í, ¸ðµç ¼Ó¼º, ¸Þ¼­µå, À̺¥Æ®¸¦ ½ºÅ©¸³Æ®·Î »ç¿ëÇÒ ¼ö ÀÖ´Ù. À̺¥Æ® ¹ß»ýÀü¿¡ ½ºÆ®¸³Æ®·Î °³Ã¼¿¡ Á¢¼ÓÀ» ½ÃµµÇÏ¸é ½ºÆ®¸³Æ®´Â ±× ¼Ó¼ºÀÌ °³Ã¼¿¡¼­ Áö¿øµÇÁö ¾Ê´Â´Ù´Â ¿À·ù¸¦ ¹ß»ý½ÃŲ´Ù.

clientCaps ºñÇìÀ̹ö´Â IE5ÀÇ Win32¿Í Unix ÇÁ·¡½ºÆû, IE5.5¿¡¼­ ce À¯È¿ÇÏ´Ù.


attribute property ¼³¸í
  availHeight ½Ã½ºÅÛ ½ºÅ©¸°¿¡¼­ À©µµ¿ì ŽºÅ©¹Ù¸¦ Á¦¿ÜÇÑ ÀÛ¾÷ Áö¿ªÀÇ ³ôÀ̸¦ ¹ÝȯÇÑ´Ù.
  availWidth ½Ã½ºÅÛ ½ºÅ©¸°¿¡¼­ À©µµ¿ì ŽºÅ©¹Ù¸¦ Á¦¿ÜÇÑ ÀÛ¾÷ Áö¿ªÀÇ ³Êºñ¸¦ ¹ÝȯÇÑ´Ù.
  bufferDepth »ö»ó¿¡ »ç¿ëµÇ´Â ¿ÀÇÁ½ºÅ©¸°(off-screen) ºñÆ®¸Ê(bitmap) ¹öÆÛ Çȼ¿´ç ¹ÙÀÌÆ® ¼ö¸¦ ¹ÝȯÇÑ´Ù.
  colorDepth ¸ñÇ¥ ÀåÄ¡³ª ¹öÆÛ¿¡¼­ »ö»ó¿¡ »ç¿ëµÇ´Â Çȼ¿´ç ¹ÙÀÌÆ® ¼ö¸¦ ¹ÝȯÇÑ´Ù.
  connectionType ¿¬°á¿¡ »ç¿ëµÇ´Â Çü½ÄÀ» ¹ÝȯÇÑ´Ù.
  cookieEnabled ºê¶ó¿ìÀú¿¡¼­ »ç¿ëÀÚÃø ÄíÅ°°¡ Çã¿ëµÇ´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
  cpuClass CPU Á¾·ù¸¦ ³ªÅ¸³»´Â ºÐÀÚ¿­À» ¹ÝȯÇÑ´Ù.
  height ½ºÅ©¸°ÀÇ ¼öÁ÷ Çػ󵵸¦ ¹ÝȯÇÑ´Ù.
  javaEnabled Microsoft VM(Microsoft Virtual Machine)ÀÌ »ç¿ëµÉ ¼ö Àִ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
  platform »ç¿ëÇÏ´Â ºê¶ó¿ìÀú°¡ ¿î¿ëµÇ´Â Ç÷¡Æ®Æû(platform)À» ¹ÝȯÇÑ´Ù.
  systemLanguage »ç¿ëµÇ´Â ½Ã½ºÅÛÀÇ µðÆúÆ® ¾ð¾î¸¦ ¹ÝȯÇÑ´Ù.
  userLanguage ÇöÀç »ç¿ëÀÚÀÇ ¾ð¾î¸¦ ¹ÝȯÇÑ´Ù.
  width ½ºÅ©¸°ÀÇ ¼öÆò Çػ󵵸¦ ¹ÝȯÇÑ´Ù.

¸Þ¼­µå ¼³¸í
addComponentRequest ¼³Ä¡ÇÒ ¼ö ÀÖ´Â ÁöÁ¤µÈ ÄÞÆ÷³ÙÆ®¸¦ Ãß°¡ÇÑ´Ù.
clearComponentRequest ¸ðµç ÄÄÆ÷³ÙÆ® ´Ù¿î·Îµå ¿äûÀ» Á¦°ÅÇÑ´Ù.
compareVersions µÎ°³ÀÇ ¹öÀü ¹øÈ£¸¦ ºñ±³ÇÑ´Ù.
doComponentRequest addComponentRequest¸¦ »ç¿ëÇÏ¿© ¿äûÇÑ ¸ðµç ÄÞÆ÷³ÙÆ®¸¦ ´Ù¿î·ÎµåÇÏ¿© ¼³Ä¡ÇÑ´Ù.
getComponentVersion ÁöÁ¤µÈ ÄÞÆ÷³ÙÆ®ÀÇ ¹öÀüÀ» ¹ÝȯÇÑ´Ù.
isComponentInstalled ÁöÁ¤ÇÑ ÄÞÆ÷³ÙÆ®°¡ ¼³Ä¡µÇ¾î Àִ°¡¸¦ ¹ÝȯÇÑ´Ù.

°³Ã¼ IE
<ELEMENT style="behavior:url('#default#clientCaps')" id=idVal> IE5(win32,unix),IE5.5(ce)
A ACRONYM ADDRESS APPLET AREA B BASE BASEFONT BDO BGSOUND BIG BLOCKQUOTE BODY BR BUTTON CAPTION CENTER CITE CODE COL COLGROUP COMMENT DD DEL DFN DIR DIV DL DT EM EMBED FIELDSET FONT FORM FRAME FRAMESET HEAD hn HR HTML I IFRAME IMG INPUT type=button INPUT type=checkbox INPUT type=file INPUT type=hidden INPUT type=image INPUT type=password INPUT type=radio INPUT type=reset INPUT type=submit INPUT type=text INS ISINDEX KBD LABEL LEGEND LI LINK LISTING MAP MARQUEE MENU NEXTID NOBR NOFRAMES NOSCRIPT OBJECT OL OPTION P plainText PRE Q RT RUBY S SAMP SCRIPT SELECT SMALL SPAN STRIKE STRONG SUB SUP TABLE TBODY TD TEXTAREA TFOOT TH THEAD TITLE TR TT U UL VAR WBR XML XMP

clientCaps ºñÇìÀ̹öÀÇ getComponentVersion ¸Þ¼­µå·Î ºê¶ó¿ìÀú ¹öÀüÀ» µð½ºÇ÷¹ÀÌÇÑ´Ù.

<SCRIPT>
function showVersion(){
  var sVersion = oClientCaps.getComponentVersion ("{89820200-ECBD-11CF-8B85-00AA005B4383}","componentid");
  showA.innerHTML = 'ÇöÀç Internet Explorer´Â <FONT color=blue><B>' + sVersion + '</B></FONT>';
}
</SCRIPT>
<BODY style="behavior:url(#default#clientCaps)" id="oClientCaps">
<BUTTON onclick="showVersion()">Internet Explorer ¹öÀüÀº </BUTTON>
<DIV id="showA"></DIV>

½ºÅ©¸³Æ®À» »ç¿ëÇÏ¿© ź·ÂÀûÀ¸·Î ºñÇìÀ̹ö¸¦ ¼³Á¤, ¼³Ä¡µÇÀÌ ¾Ê¾ÒÀ¸¸é ÀͽºÇ÷η¯ µ¥ÀÌÅÍ ¿¬°á ÄÞÆ÷³ÍÆ®¸¦ ¼³Ä¡ÇÑ´Ù.

<HEAD>
<SCRIPT>
function doShow(){
  str='';
  oClientCaps.style.behavior = 'url(#default#clientCaps)';
  var bDBAvailable  = false;
  var sDBVersion = '';
  var sDBID = '{9381D8F2-0288-11D0-9501-00AA00B911A5}';
  str+='oClientCaps.style.behavior='+oClientCaps.style.behavior+'<BR>';
  bDBAvailable = oClientCaps.isComponentInstalled(sDBID,"componentid");
  if (!bDBAvailable){
    oClientCaps.addComponentRequest (sDBID, "componentid");
    bDBAvailable = oClientCaps.doComponentRequest();
    str+='µ¥ÀÌÅÍ ¿¬°áÀÌ ¾ø¾î ¼³Ä¡ÇÑ´Ù...<BR>';
  } else str+='µ¥ÀÌÅÍ ¿¬°áÀÌ ÀÌ¹Ì ¼³Ä¡µÇ¾î ÀÖ´Ù.<BR>';
  str+='bDBAvailable='+bDBAvailable+'<BR>';
  showB.innerHTML=str;
}
</SCRIPT>
</HEAD>
<BODY id=oClientCaps>
<BUTTON onclick=doShow()>µ¥ÀÌÅÍ ¿¬°á È®ÀΠŬ¸¯</BUTTON>
<DIV id="showB"></DIV>