À̺¥Æ®°¡ ¹ß»ýµÈ °³Ã¼¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
: (¼Ó¼º °³Ã¼)
¼Ó¼º°ªÀº À̺¥Æ®°¡ ¹ß»ýµÈ °³Ã¼ÀÌ´Ù.

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

Ư±â

IE4.0¿¡¼­ ÀбâÀü¿ëÀ̾úÀ¸³ª IE5ºÎÅÍ´Â Àϱâ/¾²±âÀÌ´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
ÂüÁ¶

°á°ú Ç¥½Ãâ
<DIV id=showA>°á°ú Ç¥½Ãâ</DIV>
<SCRIPT>
function fromEvent(){
  showA.innerHTML=event.type+' <FONT color=blue>'+event.fromElement.innerText+'</FONT>';
}
</SCRIPT>
<BUTTON id="butObj" onmouseover="fromEvent()"
  onmouseout="showA.innerText='&nbsp;'">¸¶¿ì½º·Î mouseover À̺¥Æ®¸¦ ¹ß»ý½ÃÄÑ º¸¶ó.</BUTTON>

°á°ú Ç¥½Ãâ
<SCRIPT>
function testMouse(obj) {
  if (!obj.contains(event.fromElement)) showB.innerHTML='<FONT color=blue>¸¶¿ì½º°¡ ¿Ã¶ó¿Ô´Ù.</FONT>';
}
</SCRIPT>
<BUTTON id=oButton onmouseover="testMouse(this)" onmouseout="showB.innerHTML=''">¸¶¿ì½º¸¦ ¿Ã·Áº¸¶ó.</BUTTON>
<DIV id=showB style=height:2em>°á°ú Ç¥½Ãâ</DIV>