Å×À̺íÀÇ ¸Ó¸´ºÎºÐÀ» Ç¥ÇöÇÑ´Ù.
Script | [propVal=]..propName; | |
HTML | propName="propVal">innerString |
THEAD ¿¤·¹¸àÆ®¿¡´Â TD, TH¿Í TR ¿¤·¹¸àÆ®°¡ Æ÷Ç﵃ ¼ö ÀÖ´Ù.
ÇÑ table¿¡´Â ÇÑ°³ÀÇ tHead¸¸ °¡Áú¼ö ÀÖ´Ù.
table °³Ã¼¿Í À̵éÀ» ±¸¼ºÇÏ°í ÀÖ´Â °ü·Ã ¿¤·¹¸àÆ®µéÀº ´Ù¸¥ Å×ÀÌºí °³Ã¼ ¸ðµ¨À» »ç¿ëÇϸç ÀϹÝÀûÀÎ °³Ã¼(object) ¸ðµ¨°ú´Â ´Ù¸¥ ¹æ½ÄÀ» »ç¿ëÇÑ´Ù.
ÀÌ °³Ã¼´Â IE3.0¿¡¼ Áö¿øµÇ°í ½ºÅ©¸³Æ®´Â IE4.0¿¡¼ ºÎÅÍ Áö¿øµÈ´Ù.
ÀÌ ¿¤·¹¸àÆ®´Â Ç¥ÇöµÇÁö ¾Ê´Â´Ù.
ÀÌ ¿¤·¹¸àÆ®´Â Á¾·áűװ¡ ÇÊ¿äÇÏ´Ù.
ÀÌ °³Ã¼´Â HTML 4.0¿¡¼ Á¤ÀǵǾú°í (¿µ¹®)DOM Level 1(W3C Document Object Model)¿¡ Á¤ÀǵǾú´Ù.
¼³¸íÀ» À§ÇÑ ¿¹Á¦
|
||||||||||||||||
Ä÷º¼Ç | ¼³¸í°ú ¿¹Á¦ ÄÚµå | °á°ú | Âü°í |
---|---|---|---|
all | °³Ã¼¿¡ Æ÷ÇԵǾî ÀÖ´Â ¸ðµç ¿¤·¹¸àÆ®µéÀÇ ¹è¿º¯¼ö¸¦ ÂüÁ¶ÇÏ°í ¹ÝȯÇÑ´Ù. | ||
<SCRIPT>document.write(oObj.all.length)</SCRIPT> | |||
attributes | °³Ã¼ÀÇ ¾ÖÆ®¸®ºäÆ®(attribute °³Ã¼)µéÀÇ ¹è¿º¯¼ö¸¦ ÂüÁ¶ÇÏ°í ¹ÝȯÇÑ´Ù. | ||
<SCRIPT>document.write(oObj.attributes.length)</SCRIPT> | |||
behaviorUrns | ¿¤·¹¸àÆ®¿¡ ÷ºÎµÈ ºñÇØÀ̹ö(behavior)µéÀ» ÀνÄÇÏ´Â ÁÖ¼Ò(URN) ¹®ÀÚ¿µéÀÇ ¹è¿º¯¼ö¸¦ ÂüÁ¶ÇÏ°í ¹ÝȯÇÑ´Ù. | ||
<SCRIPT>document.write(oObj.behaviorUrns.length)</SCRIPT> | |||
childNodes | °³Ã¼ÀÇ ¹Ù·Î Á¾¼ÓµÈ ÀڽĵéÀÇ ¿¤·¹¸àÆ® °³Ã¼µé°ú TextNode °³Ã¼µéÀÇ ¹è¿º¯¼ö¸¦ ÂüÁ¶ÇÏ°í ¹ÝȯÇÑ´Ù. | ||
<SCRIPT>document.write(oObj.childNodes.length)</SCRIPT> | |||
children | °³Ã¼ÀÇ ¹Ù·Î Á¾¼ÓµÈ DHTML °³Ã¼µéÀÎ ÀڽĵéÀÇ ¹è¿º¯¼ö¸¦ ÂüÁ¶ÇÏ°í ¹ÝȯÇÑ´Ù. | ||
<SCRIPT>document.write(oObj.children.length)</SCRIPT> | |||
rows | table³ª tr °³Ã¼¿¡ Àû¿ëµÈ ¸ðµç ÁÙ(row)µéÀÇ ¹è¿º¯¼ö¸¦ ÂüÁ¶ÇÏ°í ¹ÝȯÇÑ´Ù. | ||
<SCRIPT>document.write(oObj.rows.length)</SCRIPT> |
°³Ã¼ | ¼³¸í | °á°ú |
---|---|---|
currentStyle | °øÅë ½ºÅ¸ÀϽ¬Æ®, ÀζóÀÎ ½ºÅ¸ÀÏ HTML ¾ÖÆ®¸®ºäÆ®µîÀ¸·Î ÁöÁ¤ÇÑ °³Ã¼ÀÇ Ä«½ºÄÉÀ̵ù Çü½Ä°ú ½ºÅ¸Àϵé ÂüÁ¶ÇÑ´Ù. | |
<SCRIPT>document.write(oObj.currentStyle.color)</SCRIPT> | ||
runtimeStyle | µ¤¾î ¾º¿öÁø ÃÖÁ¾ °øÅë ½ºÅ¸ÀϽ¬Æ®, ÀζóÀÎ ½ºÅ¸ÀÏ HTML ¾ÖÆ®¸®ºäÆ®µîÀ¸·Î ÁöÁ¤ÇÑ °³Ã¼ÀÇ Ä«½ºÄÉÀ̵ù Çü½Ä°ú ½ºÅ¸Àϵé ÂüÁ¶ÇÑ´Ù. | |
<BUTTON onclick="oObj.runtimeStyle.color='red'">Àû»öÀ¸·Î</BUTTON> ´ÜÃ߸¦ Ŭ¸¯ÇÏ°í ¿¹Á¦ÀÇ »ö»óÀ» È®ÀÎÇ϶ó. |
||
style | °³Ã¼ÀÇ ÇöÀç ¸ðµç °¡´ÉÇÑ ÀζóÀÎ ½ºÅ¸ÀÏ ¼³Á¤µéÀ» ÂüÁ¶ÇÑ´Ù. | |
<SCRIPT>document.write(oObj.style.cssText.length))</SCRIPT> |
style | script |
---|---|
{background:val} | obj.style.background[=val] |
¢¡ °³Ã¼ÀÇ ¹è°æ ¼Ó¼ºµéÀ» 5°³±îÁö ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{background-attachment:val} | obj.style.backgroundAttachment[=val] |
¢¡ ¹®¼ ¼ÓÀÇ ¹è°æ À̹ÌÁö¸¦ °³Ã¼¿¡ ¹è¿ ¹æ½ÄÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{background-color:val} | obj.style.backgroundColor[=val] |
¢¡ °³Ã¼ÀÇ ¹è°æ¿¡ ±ò¸®´Â »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{background-image:val} | obj.style.backgroundImage[=val] |
¢¡ °³Ã¼ÀÇ ¹è°æ À̹ÌÁö¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù . | |
{background-position:val} | obj.style.backgroundPosition[=val] |
¢¡ °³Ã¼ÀÇ ¹è°æ À̹ÌÁöÀÇ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{background-position-x:val} | obj.style.backgroundPositionX[=val] |
¢¡ backgroundPosition ¼Ó¼ºÀÇ x ÁÂÇ¥¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{background-position-y:val} | obj.style.backgroundPositionY[=val] |
¢¡ backgroundPosition ¼Ó¼ºÀÇ y ÁÂÇ¥¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{background-repeat:val} | obj.style.backgroundRepeat[=val] |
¢¡ °³Ã¼ backgroundImage ¼Ó¼ºÀÇ ¹Ýº¹ ¹æ½ÄÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{behavior:val} | obj.style.behavior[=val] |
¢¡ DHTML behaviorÀÇ ¼Ò°³ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{clear:val} | obj.style.clear[=val] |
¢¡ °³Ã¼¿¡¼ ºÎµ¿(float)ºÎºÐÀÇ ¸éÀÇ ¿ÞÂÊ, ¿À¸¥ÂÊ È¤Àº ¾çÂÊÀ¸·Î Ç¥ÇöÀÌ Çã¿ëÇϴ°¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{color:val} | obj.style.color[=val] |
¢¡ °³Ã¼ÀÇ ±ÛÀÚ »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{cursor:val} | obj.style.cursor[=val] |
¢¡ °³Ã¼À§¿¡¼ ¸¶¿ì½º Æ÷ÀÎÅÍÀÇ º¸ÀÌ´Â ÇüŸ¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{direction:val} | obj.style.direction[=val] |
¢¡ °³Ã¼ÀÇ Àд ¼ø¼¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{display:val} | obj.style.display[=val] |
¢¡ °³Ã¼¸¦ µð½ºÇ÷¹ÀÌÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{font:val} | obj.style.font[=val] |
¢¡ °³Ã¼ÀÇ font ¼Ó¼ºµé Á¶ÇÕÇÏ¿© ¹ÝȯÇϰųª ¼³Á¤Çϰųª, »ç¿ëÀÚ ¼±È£ ±Û²ÃµéÀ» 6°³±îÁö ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{font-family:val} | obj.style.fontFamily[=val] |
¢¡ »ç¿ëÇÑ ±Û²ÃÀÇ À̸§µéÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{font-size:val} | obj.style.fontSize[=val] |
¢¡ °³Ã¼ ÅؽºÆ®¿¡¼ »ç¿ëÇÑ ±Û²ÃÀÇ Å©±â¸¦ ³ªÅ¸³»´Â ¼öÄ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{font-style:val} | obj.style.fontStyle[=val] |
¢¡ °³Ã¼ÀÇ ±Û²Ã ÇüÅÂÀ» italic, normal, obliqueµîÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{font-variant:val} | obj.style.fontVariant[=val] |
¢¡ °³Ã¼ÀÇ ¹®ÀÚ¸¦ ÀÛÀº ´ë¹®ÀÚµé·Î º¯ÇüÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{font-weight:val} | obj.style.fontWeight[=val] |
¢¡ °³Ã¼ÀÇ ±Û²Ã µÎ²²¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{layout-grid:val} | obj.style.layoutGrid[=val] |
¢¡ ¹®ÀÚµéÀÇ ·¹À̾ƿôÀ» ÁöÁ¤ÇÏ´Â ¹®¼ ±×¸®µå(grid) ¼Ó¼ºµéÀ» ÀÏ°ýÀûÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{layout-grid-mode:val} | obj.style.layoutGridMode[=val] |
¢¡ ÅؽºÆ® ·¹À̾ƿô ±×¸®µå¿¡ °¡·Î, ¼¼·Î°¡ »ç¿ëµÇ¾ú´Â°¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù | |
{letter-spacing:val} | obj.style.letterSpacing[=val] |
¢¡ °³Ã¼ ¼Ó¿¡¼ ±ÛÀÚµé »çÀÌÀÇ °£°ÝÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{line-height:val} | obj.style.lineHeight[=val] |
¢¡ °³Ã¼ ¼Ó¿¡¼ ÁÙ°ú ¾Æ·¡ÁÙ°úÀÇ °Å¸®¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{page-break-after:val} | obj.style.pageBreakAfter[=val] |
¢¡ °³Ã¼ ´ÙÀ½¿¡ ÆäÀÌÁö ¹Ù²ÞÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{page-break-before:val} | obj.style.pageBreakBefore[=val] |
¢¡ °³Ã¼ ÀÌÀü¿¡ ÆäÀÌÁö ¹Ù²ÞÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.pixelBottom[=val] |
¢¡ °³Ã¼ÀÇ ¾Æ·¡ÂÊ À§Ä¡¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.pixelHeight[=val] |
¢¡ °³Ã¼ÀÇ ³ôÀ̸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.pixelLeft[=val] |
¢¡ °³Ã¼ÀÇ ¿ÞÂÊ À§Ä¡¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.pixelRight[=val] |
¢¡ °³Ã¼ÀÇ ¿À¸¥ÂÊ À§Ä¡¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.pixelTop[=val] |
¢¡ °³Ã¼ÀÇ À§ÂÊ À§Ä¡¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.pixelWidth[=val] |
¢¡ °³Ã¼ÀÇ ³Êºñ¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.posBottom[=val] |
¢¡ bottom ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ¾Æ·¡ÂÊ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.posHeight[=val] |
¢¡ height ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ³ôÀ̸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.posLeft[=val] |
¢¡ left ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ¿ÞÂÊ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.posRight[=val] |
¢¡ right ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ¿À¸¥ÂÊ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.posTop[=val] |
¢¡ top ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ À§ÂÊ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.posWidth[=val] |
¢¡ width ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ³Êºñ¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{text-autospace:val} | obj.style.textAutospace[=val] |
¢¡ Á¶Á¤µÈ ¹®ÀÚ¸¦ À§ÇÑ ÀÚµ¿ ¹®ÀÚ °£°Ý ¸ÂÃ߱⸦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{text-decoration:val} | obj.style.textDecoration[=val] |
¢¡ °³Ã¼ ¼ÓÀÇ ¹®ÀÚ Àå½Ä(±ô¹Ú°Å¸², Áß°£ÁÙ, ÀÁÙ, ¾Æ·§ÁÙ)À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.textDecorationBlink[=val] |
¢¡ °³Ã¼ÀÇ textDecoration ¼Ó¼º°ªÀÌ 'blink'·Î ¼³Á¤µÇ¾ú´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.textDecorationLineThrough[=val] |
¢¡ °³Ã¼ÀÇ textDecoration ¼Ó¼º°ªÀÌ 'line-through'·Î ¼³Á¤µÇ¾ú´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.textDecorationNone[=val] |
¢¡ °³Ã¼ÀÇ textDecoration ¼Ó¼º°ªÀÌ 'none'·Î ¼³Á¤µÇ¾ú´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.textDecorationOverline[=val] |
¢¡ °³Ã¼ÀÇ textDecoration ¼Ó¼º°ªÀÌ 'overline'·Î ¼³Á¤µÇ¾ú´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.textDecorationUnderline[=val] |
¢¡ °³Ã¼ÀÇ textDecoration ¼Ó¼º°ªÀÌ 'underline'·Î ¼³Á¤µÇ¾ú´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{text-transform:val} | obj.style.textTransform[=val] |
¢¡ °³Ã¼ ¼Ó¿¡¼ ¹®ÀÚÀÇ º¯È¯ Ç¥Çö ¹æ½ÄÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{text-underline-position:val} | obj.style.textUnderlinePosition[=val] |
¢¡ °³Ã¼ÀÇ textDecoration ¼Ó¼ºÀÌ 'underline'·Î ¼³Á¤µÈ °æ¿ì ¹ØÁÙÀÇ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{unicode-bidi:val} | obj.style.unicodeBidi[=val] |
¢¡ ¾ç¹æÇâ ¾Ë°í¸®Áò¿¡ °üÇÑ ±ò¸° ¼öÁØÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{vertical-align:val} | obj.style.verticalAlign[=val] |
¢¡ °³Ã¼ÀÇ ¼öÁ÷ Á¤·Ä ¹æ½ÄÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{visibility:val} | obj.style.visibility[=val] |
¢¡ °³Ã¼ÀÇ ³»¿ëÀÌ µð½ºÇ÷¹ÀÌµÉ °ÍÀΰ¡¸¦¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{word-spacing:val} | obj.style.wordSpacing[=val] |
¢¡ °³Ã¼ ¼Ó¿¡¼ ´Ü¾î°£ÀÇ °£°ÝÀ» Áõ°¡½ÃÅ°´Â Á¤µµ¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{z-index:val} | obj.style.zIndex[=val] |
¢¡ À§Ä¡°¡ Á¤ÇØÁ® ÀÖ´Â °³Ã¼ÀÇ ½ºÅÃÅ·(À§¿¡¼ º¸ÀÌ´Â) ¼ø¼¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{zoom:val} | obj.style.zoom[=val] |
¢¡ °³Ã¼ÀÇ È®´ë ¹èÀ²À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
¸Þ¼µå | ¼³¸í |
---|---|
addBehavior | ¿¤·¹¸àÆ®¿¡ behavior¸¦ Ãß°¡ÇÑ´Ù. |
appendChild | °³Ã¼ÀÇ Àڽݳü·Î ÇÑ ¿¤·¹¸àÆ®¸¦ Ãß°¡ÇÑ´Ù. |
applyElement | °³Ã¼¸¦ ´Ù¸¥ ¿¤·¹¸àÆ®ÀÇ ÀÚ½ÄÀ̳ª ¸ðü °³Ã¼·Î ¸¸µç´Ù. |
attachEvent | IE -
À̺¥Æ®¿¡ ƯÁ¤ ±â´ÉÀ» ¹¾î, ±â´ÉÇÔ¼ö°¡ °³Ã¼¿¡¼ À̺¥Æ®°¡ ¹ß»ýµÇ¸é ¾ðÁ¦³ª È£ÃâµÇ°Ô ÇÑ´Ù. À̺¥Æ®ÀÇ Á¦°Å´Â detachEvent¿¡¼ ÇÑ´Ù. ¹Ýȯ°ªÀº ºÎ¿ï°ªÀÌ´Ù. ¹®¹ý: [bVal=].object.attachEvent(event,functObj)
event´Â Çʼö¿ä¼ÒÀÌ°í, Ç¥ÁØ À̺¥Æ® ¹®ÀÚ¿ÀÌ´Ù. functObjµµ Çʼö¿ä¼ÒÀÌ°í À̺¥Æ®°¡ ¹ß»ýµÇ¸é È£ÃâµÉ ±â´ÉÇÔ¼öÀÌ´Ù.ÄÚµå: function callFunc(){alert('ondblclick À̺¥Æ® ¹ß»ý')}document.attachEvent('ondblclick',callFunc) °á°ú: // ¹®¼ À§ ¾Æ¹«µ¥¼³ª ´õºíŬ¸¯ ÇØ º¸¶ó. ÄÚµå:<INPUT type=button value="attachEvent Àç¼³Á¤" onclick="document.detachEvent('ondblclick',callFunc);document.attachEvent('ondblclick',callFunc)"></SPAN> °á°ú: |
blur |
IE NS
°³Ã¼°¡ ÃÊÁ¡À» ÀÒ°í onblur À̺¥Æ®°¡ ¹ß»ýµÈ´Ù.
¹®¹ý: .blur() |
clearAttributes | °³Ã¼ÀÇ ¸ðµç ¾ÖÆ®¸®ºäÆ®µé°ú °ªµéÀ» »èÁ¦ÇÑ´Ù. |
click |
IE NS
°³Ã¼¸¦ Ŭ¸¯ÇÏ´Â °Í°ú µ¿ÀÏÇÏ°Ô onclick À̺¥Æ®°¡ ¹ß»ýµÈ´Ù.
¹®¹ý: .click() |
cloneNode | ¹®¼ °èÅëµµ·ÎºÎÅÍ °³Ã¼ÀÇ ÂüÁ¶¸¦ º¹»çÇÑ´Ù. |
componentFromPoint | ¾î¶² À̺¥Æ®¿¡¼ ÁöÁ¤µÈ ÁÂÇ¥¿¡ À§Ä¡ÇÑ ÄÞÆ÷³ÙÆ®¸¦ ¹ÝȯÇÑ´Ù. |
contains | °³Ã¼ ¼Ó¿¡ ÁÖ¾îÁø ¿¤·¹¸àÆ®°¡ Àִ°¡¸¦ Á¡°ËÇÑ´Ù. |
deleteRow | ¿¡¼ ÁöÁ¤ÇÑ ÁÙ(tr)°ú rows Ä÷º¼Ç¿¡¼ »èÁ¦ÇÑ´Ù. |
detachEvent | IE5 -
attachEvent À̺¥Æ®·Î ÷ºÎµÈ À̺¥Æ®¸¦ Á¦°ÅÇÑ´Ù. ¹Ýȯ°ªÀº ¾ø´Ù.
¹®¹ý: .detachEvent(event,funcion)
ÄÚµå: <INPUT type=button value="detachEvent" onclick="document.detachEvent('ondblclick',callFunc)"></SPAN>°á°ú: // Ŭ¸¯ ÈÄ¿¡´Â attachEvent¿¡¼ ¼³Á¤µÈ À̺¥Æ®°¡ Á¦°ÅµÈ´Ù. Á¦°Å ÈÄ ´õºíŬ¸¯ÇØ º¸¶ó. |
fireEvent | °³Ã¼¿¡¼ ÁöÁ¤ÇÑ À̺¥Æ®¸¦ ¹ß»ý½ÃŲ´Ù. |
focus |
°³Ã¼¿¡ ÃÊÁ¡À» ÁÖ°í onfocusÀ̺¥Æ®¿¡ ÁöÁ¤ÇÑ Ã³¸®ÀÚ Äڵ带 ¼öÇàÇÑ´Ù.
¹®¹ý: .focus()
|
getAdjacentText | °³Ã¼ÀÇ ÀÎÁ¢ ¹®ÀÚ¿À» ¹ÝȯÇÑ´Ù. |
getAttribute | ÁöÁ¤µÈ ¾ÖÆ®¸®ºäÆ®ÀÇ °ªÀ» ¹ÝȯÇÑ´Ù. |
getAttributeNode | IE6 attribute.name¼Ó¼ºÀ» ÂüÁ¶ÇÏ´Â attribute °³Ã¼¸¦ ¹ÝȯÇÑ´Ù. |
getBoundingClientRect | TextRectangle °³Ã¼µéÀÇ Ä÷º¼Ç¿¡ ¿¬°áµÊÀ» ÁöÁ¤ÇÏ´Â °³Ã¼¸¦ ¹ÝȯÇÑ´Ù. |
getClientRects | °³Ã¼ÀÇ ³»¿ëÀ̳ª Ŭ¶óÀ̾ðÆ® ¹üÀ§(range)ÀÇ ¹èÄ¡(layout)¸¦ ±â¼úÇÏ´Â »ç°¢Çü(rectangle)µéÀÇ Ä÷º¼ÇÀ» ¹ÝȯÇÑ´Ù. °¢ »ç°¢ÇüÀº ÇÑ ÁÙÀÌ´Ù. |
getElementsByTagName | ÁöÁ¤µÈ ¿¤·¹¸àÆ®ÀÇ À̸§¿¡ ¸Â´Â °³Ã¼µéÀÇ Ä÷º¼ÇÀ» ¹ÝȯÇÑ´Ù. |
getExpression | ÁÖ¾îÁø ¼Ó¼ºÀÇ Ç¥Çö(expression)À» ¹ÝȯÇÑ´Ù. |
hasChildNodes | °³Ã¼°¡ Àڽݳü¸¦ °¡Áö°í °¡Áö°í Àִ°¡¸¦ ³ªÅ¸³»´Â °ªÀ» ¹ÝȯÇÑ´Ù. |
insertAdjacentElement | ÁöÁ¤ÇÑ À§Ä¡¿¡ ¿¤·¹¸àÆ®¸¦ »ðÀÔÇÑ´Ù. |
insertBefore | ¹®¼ °èÅëµµ¿¡¼ ¸ðü °³Ã¼ÀÇ ÀÚ½Ä ³ëµå·Î ¿¤·¹¸àÆ®¸¦ »ðÀÔÇÑ´Ù. |
insertRow | ¿¡¼ »õ·Î¿î ÁÙ(tr)À» »ý¼ºÇÏ°í rows Ä÷º¼Ç¿¡ Ãß°¡ÇÑ´Ù. |
mergeAttributes | ÁöÁ¤µÈ °³Ã¼¿¡ ¸ðµç Àбâ/¾²±â ¾ÖÆ®¸®ºäÆ®¸¦ º¹»çÇÑ´Ù. |
moveRow | ÀÇ ÁÙ(row)À» ´Ù¸¥ À§Ä¡·Î À̵¿ÇÑ´Ù. |
normalize | IE6 °³Ã¼ÀÇ ÀÎÁ¢ TextNode °³Ã¼¸¦ ÅëÇÕÇÏ¿© ¹®¼ °³Ã¼ ¸ðµ¨À» Á¤»óÈÇÑ´Ù. |
releaseCapture | ÇöÀç ¹®¼ÀÇ °³Ã¼·Î ºÎÅÍ ¸¶¿ì½º ĸÃĸ¦ Á¦°ÅÇÑ´Ù. |
removeAttribute | °³Ã¼·Î ºÎÅÍ ¾ÖÆ®¸®ºäÆ®¸¦ Á¦°ÅÇÑ´Ù. |
removeAttributeNode | IE6 °³Ã¼·Î ºÎÅÍ ¾ÖÆ®¸®ºäÆ® °³Ã¼ ³ëµå¸¦ Á¦°ÅÇÑ´Ù. |
removeBehavior | °³Ã¼·ÎºÎÅÍ behavior¸¦ Á¦°ÅÇÑ´Ù. |
removeChild | °³Ã¼·ÎºÎÅÍ ÀÚ½Ä ³ëµå¸¦ Á¦°ÅÇÑ´Ù. |
removeExpression | ÁöÁ¤ÇÑ ¼Ó¼ºÀ¸·ÎºÎÅÍ Ç¥Çö(expression)À» Á¦°ÅÇÑ´Ù. |
removeNode | ¹®¼ °èÅëµµ¿¡¼ °³Ã¼¸¦ Á¦°ÅÇÑ´Ù. |
replaceAdjacentText | °³Ã¼¿¡ ÀÎÁ¢ ¹®ÀÚ¿À» ±³Ã¼ÇÑ´Ù. |
replaceChild | ÇöÀçÀÇ ÀÚ½Ä ¿¤·¹¸àÆ®¸¦ »õ·Î¿î ÀÚ½Ä ¿¤·¹¸àÆ®·Î ±³Ã¼ÇÑ´Ù. |
replaceNode | °³Ã¼¸¦ ´Ù¸¥ ¿¤·¹¸àÆ®·Î ±³Ã¼ÇÑ´Ù. |
scrollIntoView | °³Ã¼¸¦ º¸±â°Ô ±¼¸²(scroll)ÇÏ°í À©µµ¿ìÀÇ ¸ÇÀ§³ª ¾Æ·¡¿¡ Á¤·ÄÇÑ´Ù. |
setActive | °³Ã¼¿¡ ÃÊÁ¡À» ÁÖÁö ¾ÊÀº »óÅ¿¡¼ È°¼ºÀ¸·Î ¼³Á¤ÇÑ´Ù. |
setAttribute | ÁöÁ¤µÈ ¾ÖÆ®¸®ºäÆ®¸¦ ¼³Á¤ÇÑ´Ù. |
setAttributeNode | IE6 °³Ã¼ÀÇ ºÎºÐÀ¸·Î ¾ÖÆ®¸®ºäÆ® °³Ã¼ ³ëµå¸¦ ¼³Á¤ÇÑ´Ù. |
setCapture | ÇöÀç ¹®¼¿¡ ¼Ò¼ÓµÈ °³Ã¼ÀÇ ¸¶¿ì½º ĸÃĸ¦ ¼³Á¤ÇÑ´Ù |
setExpression | ÁöÁ¤µÈ °³Ã¼ÀÇ Ç¥Çö(expression)À» ¼³Á¤ÇÑ´Ù. |
swapNode | ¹®¼ °èÅëµµ¿¡¼ µÎ °³Ã¼ÀÇ À§Ä¡¸¦ ¼·Î ¹Ù²Û´Ù. |
À̺¥Æ® | ¼³¸í |
---|---|
onactivate | ¿¤·¹¸àÆ® °³Ã¼°¡ activeElement ¼Ó¼ºÀ¸·Î ¼³Á¤µÇ¸é ¹ß»ýÇÑ´Ù. |
onbeforeactivate | IE6 ¿¤·¹¸àÆ® °³Ã¼°¡ activeElement ¼Ó¼ºÀ¸·Î ¼³Á¤µÇ±â ¹Ù·Î Àü¿¡ ¹ß»ýÇÑ´Ù. |
onbeforecut | ¹®¼·Î ºÎÅÍ ¼±ÅÃÇÑ ºÎºÐÀÇ À߶󳻱â Çϱ⠹ٷΠÀü¿¡ ¿øº» °³Ã¼¿¡ ¹ß»ýÇÑ´Ù. |
onbeforedeactivate | ¸ðü ¹®¼¿¡¼ activeElement ¼Ó¼ºÀÇ ¿¤·¹¸àÆ® °³Ã¼°¡ ÇöÀç °³Ã¼·Î ´Ù¸¥ °³Ã¼·Î º¯°æµÇ±â ¹Ù·Î Àü¿¡ ¹ß»ýÇÑ´Ù. |
onbeforepaste | ½Ã½ºÅÛ Å¬¸³º¸µå(À߶󳽰ųª º¹»çÇÑ ³»¿ëÀÌ ÀÖ´Â)·ÎºÎÅÍ ¹®¼ÀÇ ¸ñÇ¥°³Ã¼¿¡ ºÙ¿© ³Ö±â ¹Ù·Î Àü¿¡ ¹ß»ýÇÑ´Ù. |
onblur |
IE4 NS3
°³Ã¼°¡ ÃÊÁ¡À» »ý½ÇÇßÀ» ¶§ ¹ß»ýÇÑ´Ù.
¹®¹ý: .onblur='JsCode' |
onclick |
°³Ã¼¿¡¼ ¸¶¿ì½º¸¦ Ŭ¸¯(´·µ´Ù ³õÀ½)ÇÏ¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .onclick='JsCode' |
oncontextmenu | Ŭ¶óÀ̾ðÆ® Áö¿ª¿¡¼ ¿À¸¥ÂÊ ¸¶¿ì½º ´ÜÃ߸¦ Ŭ¸¯ÇÏ¿´À» ¶§³ª ÄÜÅؽºÆ®(context) ¸Þ´º¸¦ ¿¾úÀ» ¶§ ¹ß»ý |
oncontrolselect | »ç¿ëÀÚ°¡ °³Ã¼ÀÇ Á¦¾î ¼±ÅÃÀ» ÇÏ·Á°í ÇÒ ¶§ ¹ß»ýÇÑ´Ù. |
oncut | ¹®¼ÀÇ ¼±ÅÃÇÑ ³»¿ëÀ» À߶ó ½Ã½ºÅÛ Å¬¸³º¸µå(À߶󳽰ųª º¹»çÇÑ ³»¿ëÀÌ ÀÖ´Â)¿¡ ³ÖÀ» ¶§ ¿øº» °³Ã¼¿¡ ¹ß»ý |
ondblclick |
°³Ã¼¿¡¼ ¸¶¿ì½º¸¦ ¿¬¼Ó µÎ¹ø Ŭ¸¯ÇÏ¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .ondblclick='JsCode' |
ondeactivate | ¸ðü ¹®¼¿¡¼ activeElement ¼Ó¼ºÀÇ ¿¤·¹¸àÆ® °³Ã¼°¡ ÇöÀç °³Ã¼·Î ´Ù¸¥ °³Ã¼·Î º¯°æµÇ¸é ¹ß»ýÇÑ´Ù. |
ondragenter | ¿¬¼Ó ²ø±â µ¿ÀÛ¿¡¼ ¼º°øÀûÀÎ ²ø¾î ³õ±â°¡ ¿Ï·á¸é ¸ñÇ¥ °³Ã¼¿¡ ¹ß»ýÇÑ´Ù. |
ondragstart | ¿¬¼Ó ²ø±â µ¿ÀÛ¿¡¼ ¼±ÅÃÇÑ ÅؽºÆ®³ª °³Ã¼¸¦ ²ø±â ½ÃÀÛÇÏ¸é ¿øº» °³Ã¼¿¡ ¹ß»ýÇÑ´Ù. |
onfocus |
IE NS
°³Ã¼°¡ ÃÊÁ¡À» ¹ÞÀ¸¸é ¹ß»ýµÇ°í JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .onfocus='JsCode' |
onfocusin | IE6 ¿¤·¹¸ÇÆ®¿¡ ÃÊÁ¡À» Á¶±â ¹Ù·Î Àü¿¡ ¿¤·¹¸àÆ®¿¡ ¹ß»ýÇÑ´Ù. |
onfocusout | IE6 ´Ù¸¥ ¿¤·¹¸ÇÆ®·Î ÃÊÁ¡À» À̵¿ÇÏ¸é ¹Ù·Î ÇöÀç ¿¤·¹¸àÆ®¿¡ ¹ß»ýÇÑ´Ù. |
onhelp | È°¼º À©µµ¿ì¿¡¼ µµ¿ò¸»À» À§ÇÏ¿© F1 Å°¸¦ ´©¸£¸é ¹ß»ýµÈ´Ù. |
onkeydown |
°³Ã¼¿¡¼ ÀÚÆÇ(key)À» ´©¸£¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .onkeydown='JsCode' |
onkeypress |
°³Ã¼¿¡¼ ÀÚÆÇ(key)À» ´©¸£°í ÀÖÀ¸¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .onkeypress='JsCode' |
onkeyup |
°³Ã¼¿¡¼ ÀÚÆÇ(key) ´©¸§À» ÇØÁ¦ÇÏ¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .onkeyup='JsCode' |
onlosecapture | °³Ã¼°¡ ¸¶¿ì½º ĸÃÄ(capture)¸¦ ÇØÁ¦ÇÏ¸é ¹ß»ýÇÑ´Ù. |
onmousedown |
°³Ã¼¿¡¼ ¸¶¿ì½º ´ÜÃ߸¦ ´·¶À» ¶§ ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .onmousedown='JsCode' |
onmouseenter | ¸¶¿ì½º Æ÷ÀÎÅÍ°¡ °³Ã¼ À§·Î À̵¿ÇÏ¸é ¹ß»ýÇÑ´Ù. |
onmouseleave | ¸¶¿ì½º Æ÷ÀÎÅÍ°¡ °³Ã¼ ¹ÛÀ¸·Î À̵¿ÇÏ¸é ¹ß»ýÇÑ´Ù. |
onmousemove | ¸¶¿ì½º Æ÷ÀÎÅÍ°¡ °³Ã¼ À§¿¡¼ À̵¿ÇÏ¸é ¹ß»ýÇÑ´Ù. |
onmouseout | ¸¶¿ì½º Æ÷ÀÎÅÍ°¡ °³Ã¼ ¹ÛÀ¸·Î À̵¿ÇÏ¸é ¹ß»ýÇÑ´Ù. |
onmouseover | ¸¶¿ì½º Æ÷ÀÎÅÍ°¡ °³Ã¼ À§·Î À̵¿ÇÏ¸é ¹ß»ýÇÑ´Ù. |
onmouseup |
°³Ã¼¿¡¼ ´ÜÃß ´©¸§À» ÇØÁ¦ÇÏ¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .onmouseup='JsCode' |
onmousewheel | IE6 ¸¶¿ì½º ÈÙ(wheel)À» ±¼¸®¸é ¹ß»ýÇÑ´Ù. |
onmove | °³Ã¼°¡ À̵¿ÇÏ¸é ¹ß»ýÇÑ´Ù. |
onmoveend | °³Ã¼ÀÇ À̵¿ÀÌ ÁßÁöµÇ¸é ¹ß»ýÇÑ´Ù. |
onmovestart | °³Ã¼°¡ À̵¿Çϱ⠽ÃÀÛÇÏ¸é ¹ß»ýÇÑ´Ù. |
onpaste | ½Ã½ºÅÛ Å¬¸³º¸µå(À߶󳽰ųª º¹»çÇÑ ³»¿ëÀÌ ÀÖ´Â)·ÎºÎÅÍ ¹®¼ÀÇ ¸ñÇ¥°³Ã¼¿¡ ºÙ¿© ³ÖÀ¸¸é ¹ß»ýÇÑ´Ù. |
onpropertychange | °³Ã¼ÀÇ ¼Ó¼ºÀ» º¯°æ¹ß»ýÇÑ´Ù. |
onreadystatechange | °³Ã¼ÀÇ Áغñ»óÅÂ(readyState) ¼Ó¼ºÀ» º¯°æ½ÃÅ°¸é ¹ß»ýÇÑ´Ù. |
onresizeend | Á¦¾î ¼½¼Ç¿¡¼ °³Ã¼ÀÇ Å©±â º¯°æÀÌ ¿Ï·áµÇ¸é ¹ß»ýÇÑ´Ù. |
onresizestart | Á¦¾î ¼½¼Ç¿¡¼ °³Ã¼ÀÇ Å©±â º¯°æÀÌ ½ÃÀÛµÇ¸é ¹ß»ýÇÑ´Ù. |
onselectstart | °³Ã¼°¡ ¼±ÅõDZ⠽ÃÀÛÇÏ¸é ¹ß»ýÇÑ´Ù. |
ontimeerror | ÀϹÝÀûÀ¸·Î À¯È¿ÇÏÁö ¾ÊÀº °ªÀÇ °á°ú¿¡ ÀÇÇÏ¿©, ½Ã°£À» ÁöÁ¤ÇÏ´Â ¿À·ù°¡ ÀϾ¸é ¹ß»ýµÈ´Ù. |
Behavior | ¼³¸í |
---|---|
clientCaps | Explorer¿¡ ´ëÇÑ Á¤º¸¸¦ Á¦°øÇÏ°í ¿äû¿¡ ÀÇÇÏ¿© ºê¶ó¿ìÀúÀÇ ÄÞÆ÷³ÙÆ®¸¦ ¼³Ä¡ÇÏ´Â ¹æ¹ý´Ã Á¦°øÇÑ´Ù. |
download | ÆÄÀÏÀ» ´Ù¿î·ÎµåÇÏ°í ¿Ï·áµÇ¸é ¿Ï·á¸¦ ¾Ë·ÁÁÖ´Â ±â´ÉÀ» °®°íÀÖ´Ù. |
homePage | »ç¿ëÀÚÀÇ È¨ÆäÀÌÁö¿¡ ´ëÇÑ Á¤º¸¸¦ Æ÷ÇÔÇÏ°í ÀÖ´Ù. |
time | (ºÒ·®) HTML ¿¤·¹¸àÆ®¿¡ È°¼º ½Ã°£À» Á¦°øÇÑ´Ù. |
time2 | HTML ¿¤·¹¸àÆ®³ª ¿¤·¹¸àÆ® ±¸·ì¿¡ È°¼º ½Ã°£À» Á¦°øÇÑ´Ù. |