°³Ã¼°¡ ÃÊÁ¡À» ¹Þ¾Ò´ÂÁö ½Ã°¢ÀûÀ¸·Î ÀνÄÇÒ ¼ö ÀÖ´Â ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

object.hideFocus[=true|false]
Àμö
object (°³Ã¼)

ÇʼöÀûÀÎ Àμö object´Â ÀÌ ¼Ó¼ºÀÌ Àû¿ëµÇ´Â ¿¤·¹¸ÇÆ® °³Ã¼ÀÌ´Ù.

: (¼Ó¼º ºÎ¿ï°ª)
¼±ÅÃÀûÀÎ Àμö ¼Ó¼º°ªÀº °³Ã¼¿¡ ÃÊÁ¡À» °¨Ãâ °ÍÀΰ¡¸¦ ³ªÅ¸³»´Â ºÎ¿ï°ªÀÌ´Ù.

false µðÆúÆ®À̸ç, °³Ã¼¿¡ ÃÊÁ¡ÀÌ ÁÖ¾îÁø °ÍÀÌ ³ªÅ¸³ªÁö ¾Ê´Â´Ù.
true °³Ã¼¿¡ ÃÊÁ¡ÀÌ ÁÖ¾îÁø °ÍÀÌ ³ªÅ¸³­´Ù.

ÀÌ ¼Ó¼ºÀº Àбâ/¾²±â·Î µðÆúÆ®°ªÀº falseÀÌ´Ù.

Ư±â

°³Ã¼ÀÇ Å׵θ® ³»¿¡ ÃÊÁ¡ÀÌ ¿À¸é ¿¤·¹¸àÆ® °³Ã¼ÀÇ »ç°¢Çü Å׵θ®¿¡ Á¡¼±À¸·Î ÃÊÁ¡ÀÌ ÁÖ¾îÁø °ÍÀ» À°¾ÈÀ¸·Î ÀνÄÇÒ ¼ö ÀÖ´Ù.

hideFocus ¼Ó¼ºÀº °³Ã¼°¡ ÃÊÁ¡À» ¹Þ´Â °Í(focus)À» Á¦¾îÇÏÁö´Â ¾Ê´Â´Ù. ÃÊÁ¡ ¹Þ´Â °ÍÀ» Á¦¾îÇϱâ À§Çؼ­´Â tabIndex ¼Ó¼ºÀÇ »þ¿ëÇÑ´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE

BODY, DIV hideFocus ¼Ó¼º ¿¹Á¦

<BODY id=bodyObj>
<DIV id=divObj></DIV>

<SCRIPT>
document.write('bodyObj.hideFocus='+bodyObj.hideFocus+'<BR>divObj.hideFocus='+divObj.hideFocus)
</SCRIPT>

BUTTON, IMG ¿¤·¹¸àÆ®ÀÇ hideFocus ¼Ó¼º ¿¹Á¦


hideFocus='false'ÀÎ IMG hideFocus='true'ÀÎ IMG

Ŭ¸¯Çϸç Á¡¼±À¸·Î ¾àÇÏ°Ô »ý±ä »ç°¢Çü ¿Ü°¢ Å׵θ®¸¦ È®ÀÎÇ϶ó.

<BUTTON id=but1 onclick="showit()">hideFocus='false'ÀÎ ´ÜÃß</BUTTON>
<BUTTON id=but2 onclick="showit()">hideFocus='true'ÀÎ ´ÜÃß</BUTTON><BR>
<IMG id=img1 onclick="showit()" src="../../gif/rfproperty.gif"> hideFocus='false'ÀÎ IMG
<IMG id=img2 onclick="showit()" src="../..//gif/rfproperty.gif"> hideFocus='true'ÀÎ IMG<BR>
<DIV id=showArea></DIV>
<SCRIPT>
function showit(){
  but1.hideFocus=false;
  img1.hideFocus=false;
  but2.hideFocus=true;
  img2.hideFocus=true;
  str=''
  str+='but1.hideFocus='+but1.hideFocus+'<SPAN style=width:5.2em></SPAN>';
  str+='but2.hideFocus='+but2.hideFocus+'<BR>';
  str+='img1.hideFocus='+img1.hideFocus+'<SPAN style=width:5.2em></SPAN>';
  str+='img2.hideFocus='+img2.hideFocus+'<BR>';
  showArea.innerHTML=str;
}
</SCRIPT>