TABLE ¿¤·¹¸àÆ®¿¡¼­ ÁÙ¿¡ ¾îµÓ°ÔÇϰųª ¹à°ÔÇÒ ¼ö ÀÖ´Â ±â´ÉÀ» °¡´ÉÇÏ°ÔÇÑ´Ù.

script object.style.behavior="url('rowover.htc')";
object.addBehavior("rowover.htc");
HTML <TABLE style="behavior:url('rowover.htc')" id=idVal>
XML ¾øÀ½
Àμö idVal °³Ã¼ÀÇ À¯ÀÏÇÑ ÀνÄÀÚ ¹®ÀÚ¿­ÀÌ´Ù.
Ư±â

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

¸ñ·Ï¿¡ ¿­°ÅµÈ ½ºÅ¸ÀÏ ÀÌ¿Ü¿¡ rowover ºñÇìÀ̹ö´Â ½ºÅ¸ÀÏ ¼Ó¼º cursor¸¦ Áö¿øÇÑ´Ù.

table ¿¤·¹¸àÆ®¿¡¼­ cellSpacing ¾ÖÆ®¸®ºäÆ®¸¦ 0À¸·Î ¼³Á¤ÇÏ¿©¾ß ÇÑ´Ù. ÀÌ ¾ÖÆ®¸®ºäÆ® °ªÀÌ ¼³Á¤µÇÁö ¾Ê°Å³ª 0º¸´Ù Å©¸é °°Àº ÁÙ¿¡¼­ ´Ù¸¥ Ä­À¸·Î À̵¿ÇÏ´Â µ¿¾È °­Á¶¸¦ »ó½ÇÇÒ¼ö ÀÖ´Ù.

ÀÌ ºñÇìÀ̹ö´Â IE5(win16,win32,unix,mac)ºÎÅÍ Àû¿ëµÈ´Ù.


attribute property ¼³¸í
ro--hover-background roHoverBackground rowover ºñÇìÀ̹ö°¡ »ç¿ëµÇ´Â °æ¿ì ¸¶¿ì½º¸¦ Å×À̺í ÁÙ¿¡ ¿Ã·ÈÀ» ¶§ µð½ºÇ÷¹À̵Ǵ ¹è°æ»ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
ro--hover-color roHoverColor rowover ºñÇìÀ̹ö°¡ »ç¿ëµÇ´Â °æ¿ì Å×À̺íÀÇ °­Á¶(highlight) ÅؽºÆ®ÀÇ »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
ro--light-background roLightBackground rowover ºñÇìÀ̹ö°¡ »ç¿ëµÇ´Â °æ¿ì Å×À̺í ÁÙµéÀÇ ´ëü ¶çÁÙÀÇ ¹àÀº »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
ro--selected-background roSelectedBackground rowover ºñÇìÀ̹ö°¡ »ç¿ëµÇ´Â °æ¿ì ¼±ÅÃµÈ Å×À̺í ÁÙÀÇ ¹è°æ»ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
ro--selected-color roSelectedColor rowover ºñÇìÀ̹ö°¡ »ç¿ëµÇ´Â °æ¿ì ¼±ÅÃµÈ Å×À̺í ÁÙÀÇ ÅؽºÆ® »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
ro--shade-background roShadeBackground rowover ºñÇìÀ̹ö°¡ »ç¿ëµÇ´Â °æ¿ì Å×À̺í ÁÙµéÀÇ ´ëü ¶çÁÙÀÇ ¾îµÎ¿î »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
selectable selectable Å×À̺íÀÇ ÁÙÀ» Ŭ¸¯ÇÏ¸é ±× ÁÙÀÇ ¸ðµç Ä­µéÀÇ ³»¿ëÀÌ ¼±ÅõǴ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
striped striped rowover ºñÇìÀ̹ö¿¡¼­ ´ëü Å×À̺í ÁÙ(row)µéÀÌ ±×¸²ÀÚ Áö´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

¸Þ¼­µå ¼³¸í
reset rowover ºñÇìÀ̹ö¿¡¼­ ¼±ÅÃµÈ Å×À̺íÀÇ ÁÙÀ» ¼±Åÿ¡¼­ ÇØÁ¦ÇÑ´Ù.

À̺¥Æ® ¼³¸í
onerror rowover ºñÇìÀ̹ö¿¡¼­ ¼Ó¼º¿¡ À¯È¿ÇÏÁö ¾ÊÀº °ªÀ» ÇÒ´çÇϰųª Àбâ Àü¿ë¿¡ ÇÒ´çÇÏ·Á ÇÒ¶§ ¹ß»ýÇÑ´Ù.
onrowclick rowover ºñÇìÀ̹ö¿¡¼­ ¸¶¿ì½º Ä¿¼­°¡ Å×À̺íÀÇ ÁÙÀ» ¼±ÅÃÇÏ¸é ¹ß»ýµÈ´Ù.
onrowout rowover ºñÇìÀ̹ö¿¡¼­ ¸¶¿ì½º Ä¿¼­°¡ ÁÙ¿¡¼­ ³ª°¡¸é ¹ß»ýµÈ´Ù.
onrowover rowover ºñÇìÀ̹ö¿¡¼­ ¸¶¿ì½º Ä¿¼­°¡ ÁÙ¿¡ µé¾î¿À¸é ¹ß»ýµÈ´Ù.

Àû¿ë
°³Ã¼ IE
<TABLE style="behavior:url('rowover.htc')" id=idVal> IE5(win16,win32,unix,mac)

Å×À̺í ÁÙÀ» Ŭ¸¯ÇÏ°í ¾Æ·¡, À§·Î À̵¿½ÃÄÑ º¸¶ó.

<HTML>
<HEAD>
<TITLE>¾ð¾î ÂüÁ¶ - Javascript - ºñÇìºñ¾î(behavior) - rowover</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=euc-kr">
<HEAD>
<SCRIPT language="Javascript">
function DoMoveUp(){
  MainTable.MoveUp();
}
function DoMoveDown(){
  MainTable.MoveDown();
}
</SCRIPT>
</HEAD>

<BODY>
<CENTER>
<FORM>
<TABLE id="MainTable" border="1" width="400" style="behavior:url(../../public/Mover.htc)" selectable="true">
<THEAD bgcolor=eeeeee>
<TR>
<TH colspan="3"><B>µµ½Ã ¸ñ·Ï</B></TH>
</TR>
<TR>
<TH>µµ½Ã</TH><TH>±¹°¡</TH><TH>´ë·ú</TH>
</TR>
</THEAD>

<TBODY style=cursor:hand>
<TR>
<TD>¼­¿ï</TD><TD>´ëÇѹα¹</TD><TD>¾Æ½Ã¾Æ</TD>
</TR>
<TR>
<TD>·±´ø</TD><TD>¿µ±¹</TD><TD>À¯·´</TD>
</TR>
<TR>
<TD>´º¿å</TD><TD>¹Ì±¹</TD><TD>ºÏ¾Æ¸Þ¸®Ä«</TD>
</TR>
<TR>
<TD>½Ãµå´Ï</TD><TD>È£ÁÖ</TD><TD>¿À¼¼¾Æ´Ï¾Æ</TD>
</TR>
<TR>
<TD>³ªÀ̷κñ</TD><TD>ÄɳÄ</TD><TD>¾ÆÇÁ¸®Ä«</TD>
</TR>
<TR>
<TD>Æĸ®</TD><TD>ÇÁ¶û½º</TD><TD>À¯·´</TD>
</TR>
<TR>
<TD>»êÇÁ¶õ½Ã½ºÄÚ</TD><TD>¹Ì±¹</TD><TD>ºÏ¾Æ¸Þ¸®Ä«</TD>
</TR>
<TR>
<TD>ºÎ¿¡³ë½º¾ÆÀÌ·¹½º</TD><TD>¾ËÁ¨Æ¾</TD><TD>³²¾Æ¸Þ¸®Ä«</TD>
</TR>
<TR>
<TD>ºÏ°æ</TD><TD>Áß±¹</TD><TD>¾Æ½Ã¾Æ</TD>
</TR>
</TBODY>
<TFOOT bgcolor=eeeeee>
<TR>
<TD colspan="3">9 µµ½Ãµé</TD>
</TR>
</TFOOT>
</TABLE>
</FORM>

<P align=center style="width:400">
<INPUT type=button value="À§·Î À̵¿" onclick="DoMoveUp()">
<INPUT type=button value="¾Æ·¡·Î À̵¿" onclick="DoMoveDown()"><BR><BR>

<INPUT type=button value="ÀÌ⠴ݱâ" onclick="javascript:self.close()">
</P>
</CENTER>

</BODY>
</HTML>