Å×À̺íÀÇ Ä÷³À̳ª Ä÷³µéÀ» ±¸·ìÀ¸·Î µðÆúÆ® ¼Ó¼ºÀ» ÁöÁ¤ÇÑ´Ù.
Script | [propVal=]..propName; | |
HTML | propName="propVal">innerString |
¼Ó¿¡ ³×½ºÆ®µÈ COL ¿¤·¹¸àÆ®µéÀº COLGROUP ¿¤·¹¸àÆ®¸¦ µ¤¾î¾º¿î´Ù.
span ¾ÖÆ®¸®ºäÆ®´Â COLGROUP ¿¤·¹¸àÆ®°¡ Á¤ÀÇÇÑ Å×À̺í Ä÷³ÀÇ °¹¼ö¸¦ ÁöÁ¤Çϴµ¥ »ç¿ëµÇ¸ç, span ¾ÖÆ®¸®ºäÆ®ÀÇ µðÆúÆ®°ªÀº 1ÀÌ´Ù.
COL ¿¤·¹¸àÆ®´Â COLGROUP ¿¤·¹¸àÆ® ¹Û¿¡ ÀÖÀ» ¼ö ÀÖ°í, ÀÌ µÎ°¡Áö ¿¤·¹¸àÆ®´Â ºñ½ÁÇÑ ¿ëµµ·Î »ç¿ëµÈ´Ù. ±×·¯³ª Å×À̺íÀÇ ³»ºÎ ºÐ¸® ÁÙµé(rules)À» °áÁ¤Çϱâ À§Çؼ´Â COLGROUP¸¦ »ç¿ëÇÏ¿©¾ß ÇÑ´Ù. (¿¹Á¦ ÂüÁ¶)
COLGROUP ¿¤·¹¸àÆ®ÀÇ ³»ºÎ¿¡ Æ÷ÇԵǾî ÀÖ´Â COL ¿¤·¹¸àÆ®µéÀÌ ÀÖÀ¸¸é span ¾ÖÆ®¸®ºäÆ®¸¦ »ç¿ëÇÏÁö ¸»¾Æ¾ß ÇÑ´Ù. ÀÌ´Â span ¾ÖÆ®¸®ºäÆ®°¡ ³×½ºÆ®µÈ COL ¿¤·¹¸àÆ®µé¿¡ ¼ÓÇØ ÀÖÀ¸¸é COLGROUP ¿¤·¹¸àÆ®¿¡ ¼ÓÇØÀÖ´Â ¾ÖÆ®¸®ºäÆ®¸¦ µ¤¾î¾º¿ì±â ¶§¹®ÀÌ´Ù. À̴ ȥµ¿µÇ´Â Äڵ尡µÇ°í ¿øÇÏÁö ¾ÊÀº °á°ú¸¦ ¾òÀ» ¼ö ÀÖ´Ù.
table °³Ã¼¿Í ±× °ü·ÃµÈ ¿¤·¹¸àÆ®µéÀº ÀÏ¹Ý °³Ã¼¸ðµ¨°ú ´Ù¸¥ ¹æ½ÄÀÇ ´Ù¸¥ Å×ÀÌºí °³Ã¼¸ðµ¨À» »ç¿ëÇÑ´Ù.
ÀÌ °³Ã¼´Â IE3.0¿¡¼ Áö¿øµÇ°í ½ºÅ©¸³Æ®´Â IE4.0¿¡¼ ºÎÅÍ Áö¿øµÈ´Ù.
ÀÌ ¿¤·¹¸àÆ®´Â ºí·°¸ðµåÀÌ´Ù.
ÀÌ ¿¤·¹¸àÆ®´Â Á¾·áűװ¡ ÇÊ¿äÇÏ´Ù.
ÀÌ °³Ã¼´Â HTML 4.0¿¡¼ Á¤ÀǵǾú´Ù.
¼³¸íÀ» À§ÇÑ ¿¹Á¦
|
|||||||||
Ä÷º¼Ç | ¼³¸í°ú ¿¹Á¦ ÄÚµå | °á°ú | Âü°í |
---|---|---|---|
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> |
°³Ã¼ | ¼³¸í | °á°ú |
---|---|---|
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] |
¢¡ °³Ã¼ ¼Ó¿¡¼ ÁÙ°ú ¾Æ·¡ÁÙ°úÀÇ °Å¸®¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{overflow:val} | obj.style.overflow[=val] |
¢¡ °³Ã¼ÀÇ ³»¿ëÀÌ ³ôÀ̳ª ³Êºñ¸¦ ÃÊ°úÇÏ¿´À» ¶§ ¾î¶»°Ô ó¸®ÇÒ °ÍÀΰ¡¸¦ ³ªÅ¸³»´Â °ªÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{padding:val} | obj.style.padding[=val] |
¢¡ °³Ã¼µé »çÀÌ, ±×µé¿¡ ¼Ò¼ÓµÈ ¸¶Áø, º¸´õ±îÁöÀÇ °£°ÝÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{padding-bottom:val} | obj.style.paddingBottom[=val] |
¢¡ °³Ã¼ÀÇ ¾Æ·¡ÂÊ º¸´õ¿Í ³»¿ë »çÀÌÀÇ °£°ÝÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{padding-left:val} | obj.style.paddingLeft[=val] |
¢¡ °³Ã¼ÀÇ ¿ÞÂÊ º¸´õ¿Í ³»¿ë »çÀÌÀÇ °£°ÝÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{padding-right:val} | obj.style.paddingRight[=val] |
¢¡ °³Ã¼ÀÇ ¿À¸¥ÂÊ º¸´õ¿Í ³»¿ë »çÀÌÀÇ °£°ÝÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{padding-top:val} | obj.style.paddingTop[=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] |
¢¡ ¾ç¹æÇâ ¾Ë°í¸®Áò¿¡ °üÇÑ ±ò¸° ¼öÁØÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{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> °á°ú: |
clearAttributes | °³Ã¼ÀÇ ¸ðµç ¾ÖÆ®¸®ºäÆ®µé°ú °ªµéÀ» »èÁ¦ÇÑ´Ù. |
cloneNode | ¹®¼ °èÅëµµ·ÎºÎÅÍ °³Ã¼ÀÇ ÂüÁ¶¸¦ º¹»çÇÑ´Ù. |
componentFromPoint | ¾î¶² À̺¥Æ®¿¡¼ ÁöÁ¤µÈ ÁÂÇ¥¿¡ À§Ä¡ÇÑ ÄÞÆ÷³ÙÆ®¸¦ ¹ÝȯÇÑ´Ù. |
contains | °³Ã¼ ¼Ó¿¡ ÁÖ¾îÁø ¿¤·¹¸àÆ®°¡ Àִ°¡¸¦ Á¡°ËÇÑ´Ù. |
detachEvent | IE5 -
attachEvent À̺¥Æ®·Î ÷ºÎµÈ À̺¥Æ®¸¦ Á¦°ÅÇÑ´Ù. ¹Ýȯ°ªÀº ¾ø´Ù.
¹®¹ý: .detachEvent(event,funcion)
ÄÚµå: <INPUT type=button value="detachEvent" onclick="document.detachEvent('ondblclick',callFunc)"></SPAN>°á°ú: // Ŭ¸¯ ÈÄ¿¡´Â attachEvent¿¡¼ ¼³Á¤µÈ À̺¥Æ®°¡ Á¦°ÅµÈ´Ù. Á¦°Å ÈÄ ´õºíŬ¸¯ÇØ º¸¶ó. |
fireEvent | °³Ã¼¿¡¼ ÁöÁ¤ÇÑ À̺¥Æ®¸¦ ¹ß»ý½ÃŲ´Ù. |
getAdjacentText | °³Ã¼ÀÇ ÀÎÁ¢ ¹®ÀÚ¿À» ¹ÝȯÇÑ´Ù. |
getAttribute | ÁöÁ¤µÈ ¾ÖÆ®¸®ºäÆ®ÀÇ °ªÀ» ¹ÝȯÇÑ´Ù. |
getAttributeNode | IE6 attribute.name¼Ó¼ºÀ» ÂüÁ¶ÇÏ´Â attribute °³Ã¼¸¦ ¹ÝȯÇÑ´Ù. |
getBoundingClientRect | TextRectangle °³Ã¼µéÀÇ Ä÷º¼Ç¿¡ ¿¬°áµÊÀ» ÁöÁ¤ÇÏ´Â °³Ã¼¸¦ ¹ÝȯÇÑ´Ù. |
getClientRects | °³Ã¼ÀÇ ³»¿ëÀ̳ª Ŭ¶óÀ̾ðÆ® ¹üÀ§(range)ÀÇ ¹èÄ¡(layout)¸¦ ±â¼úÇÏ´Â »ç°¢Çü(rectangle)µéÀÇ Ä÷º¼ÇÀ» ¹ÝȯÇÑ´Ù. °¢ »ç°¢ÇüÀº ÇÑ ÁÙÀÌ´Ù. |
getElementsByTagName | ÁöÁ¤µÈ ¿¤·¹¸àÆ®ÀÇ À̸§¿¡ ¸Â´Â °³Ã¼µéÀÇ Ä÷º¼ÇÀ» ¹ÝȯÇÑ´Ù. |
getExpression | ÁÖ¾îÁø ¼Ó¼ºÀÇ Ç¥Çö(expression)À» ¹ÝȯÇÑ´Ù. |
hasChildNodes | °³Ã¼°¡ Àڽݳü¸¦ °¡Áö°í °¡Áö°í Àִ°¡¸¦ ³ªÅ¸³»´Â °ªÀ» ¹ÝȯÇÑ´Ù. |
insertAdjacentElement | ÁöÁ¤ÇÑ À§Ä¡¿¡ ¿¤·¹¸àÆ®¸¦ »ðÀÔÇÑ´Ù. |
insertBefore | ¹®¼ °èÅëµµ¿¡¼ ¸ðü °³Ã¼ÀÇ ÀÚ½Ä ³ëµå·Î ¿¤·¹¸àÆ®¸¦ »ðÀÔÇÑ´Ù. |
mergeAttributes | ÁöÁ¤µÈ °³Ã¼¿¡ ¸ðµç Àбâ/¾²±â ¾ÖÆ®¸®ºäÆ®¸¦ º¹»çÇÑ´Ù. |
normalize | IE6 °³Ã¼ÀÇ ÀÎÁ¢ TextNode °³Ã¼¸¦ ÅëÇÕÇÏ¿© ¹®¼ °³Ã¼ ¸ðµ¨À» Á¤»óÈÇÑ´Ù. |
removeAttribute | °³Ã¼·Î ºÎÅÍ ¾ÖÆ®¸®ºäÆ®¸¦ Á¦°ÅÇÑ´Ù. |
removeAttributeNode | IE6 °³Ã¼·Î ºÎÅÍ ¾ÖÆ®¸®ºäÆ® °³Ã¼ ³ëµå¸¦ Á¦°ÅÇÑ´Ù. |
removeBehavior | °³Ã¼·ÎºÎÅÍ behavior¸¦ Á¦°ÅÇÑ´Ù. |
removeChild | °³Ã¼·ÎºÎÅÍ ÀÚ½Ä ³ëµå¸¦ Á¦°ÅÇÑ´Ù. |
removeExpression | ÁöÁ¤ÇÑ ¼Ó¼ºÀ¸·ÎºÎÅÍ Ç¥Çö(expression)À» Á¦°ÅÇÑ´Ù. |
removeNode | ¹®¼ °èÅëµµ¿¡¼ °³Ã¼¸¦ Á¦°ÅÇÑ´Ù. |
replaceAdjacentText | °³Ã¼¿¡ ÀÎÁ¢ ¹®ÀÚ¿À» ±³Ã¼ÇÑ´Ù. |
replaceChild | ÇöÀçÀÇ ÀÚ½Ä ¿¤·¹¸àÆ®¸¦ »õ·Î¿î ÀÚ½Ä ¿¤·¹¸àÆ®·Î ±³Ã¼ÇÑ´Ù. |
replaceNode | °³Ã¼¸¦ ´Ù¸¥ ¿¤·¹¸àÆ®·Î ±³Ã¼ÇÑ´Ù. |
scrollIntoView | °³Ã¼¸¦ º¸±â°Ô ±¼¸²(scroll)ÇÏ°í À©µµ¿ìÀÇ ¸ÇÀ§³ª ¾Æ·¡¿¡ Á¤·ÄÇÑ´Ù. |
setAttribute | ÁöÁ¤µÈ ¾ÖÆ®¸®ºäÆ®¸¦ ¼³Á¤ÇÑ´Ù. |
setAttributeNode | IE6 °³Ã¼ÀÇ ºÎºÐÀ¸·Î ¾ÖÆ®¸®ºäÆ® °³Ã¼ ³ëµå¸¦ ¼³Á¤ÇÑ´Ù. |
setExpression | ÁöÁ¤µÈ °³Ã¼ÀÇ Ç¥Çö(expression)À» ¼³Á¤ÇÑ´Ù. |
swapNode | ¹®¼ °èÅëµµ¿¡¼ µÎ °³Ã¼ÀÇ À§Ä¡¸¦ ¼·Î ¹Ù²Û´Ù. |
À̺¥Æ® | ¼³¸í |
---|---|
onreadystatechange | °³Ã¼ÀÇ Áغñ»óÅÂ(readyState) ¼Ó¼ºÀ» º¯°æ½ÃÅ°¸é ¹ß»ýÇÑ´Ù. |
Behavior | ¼³¸í |
---|---|
clientCaps | Explorer¿¡ ´ëÇÑ Á¤º¸¸¦ Á¦°øÇÏ°í ¿äû¿¡ ÀÇÇÏ¿© ºê¶ó¿ìÀúÀÇ ÄÞÆ÷³ÙÆ®¸¦ ¼³Ä¡ÇÏ´Â ¹æ¹ý´Ã Á¦°øÇÑ´Ù. |
download | ÆÄÀÏÀ» ´Ù¿î·ÎµåÇÏ°í ¿Ï·áµÇ¸é ¿Ï·á¸¦ ¾Ë·ÁÁÖ´Â ±â´ÉÀ» °®°íÀÖ´Ù. |
homePage | »ç¿ëÀÚÀÇ È¨ÆäÀÌÁö¿¡ ´ëÇÑ Á¤º¸¸¦ Æ÷ÇÔÇÏ°í ÀÖ´Ù. |
Javascript·Î colGroup °³Ã¼ ¼öÁ¤ ¿¹Á¦
TD00 colGroup=#1 | TD01 colGroup=#1 | TD02 colGroup=#2 | TD03 colGroup=#2 | TD04 colGroup=#2 |
TD10 colGroup=#1 | TD11 colGroup=#1 | TD12 colGroup=#2 | TD13 colGroup=#2 | TD14 colGroup=#2 |
TD20 colGroup=#1 | TD21 colGroup=#1 | TD22 colGroup=#2 | TD23 colGroup=#2 | TD24 colGroup=#2 |
COL ¿¤·¹¸àÆ®°¡ COLGROUP ¿¤·¹¸àÆ® ¼Ó¿¡¼ span ¼Ó¼ºÀÌ È®ÀåµÇ¾î COLGROUP ¿¤·¹¸àÆ® ¼ÓÀÇ COL ¿¤·¹¸àÆ® °¹¼ö°¡ ´Ã¾î³´Ù.
<TABLE id=exTable border="2" rules="groups" width=600 style="font-size:8pt"> <COLGROUP span="2" style="color:blue;background:fee"><COL><COL></COLGROUP> <COLGROUP style="color:brown;background:eef"><COL><COL><COL></COLGROUP> <TR> <TD>TD00 colGroup=#1</TD> <TD>TD01 colGroup=#1</TD> <TD>TD02 colGroup=#2</TD> <TD>TD03 colGroup=#2</TD> <TD>TD04 colGroup=#2</TD> </TR> <TR> <TD>TD10 colGroup=#1</TD> <TD>TD11 colGroup=#1</TD> <TD>TD12 colGroup=#2</TD> <TD>TD13 colGroup=#2</TD> <TD>TD14 colGroup=#2</TD> </TR> <TR> <TD>TD20 colGroup=#1</TD> <TD>TD21 colGroup=#1</TD> <TD>TD22 colGroup=#2</TD> <TD>TD23 colGroup=#2</TD> <TD>TD24 colGroup=#2</TD> </TR> </TABLE> <SCRIPT> function showit(){ obj=exTable.all.tags('COLGROUP')[0]; str='COL »ý¼º Àü span='+obj.span+'<BR>'; newNode=document.createElement('COL'); obj.appendChild(newNode); obj.span+=1; str+='COL »ý¼º ÈÄ span='+obj.span; str+='<HR><DIV align=center>colGroupÀÇ ¸¶Áö¸· col('+obj.span+')</DIV>'; if (obj.span==5) butObj.disabled=true; for (i=0;i< exTable.all.tags('TR').length;i++){ str+=exTable.all.tags('TR')[i].children[obj.span-1].innerText+'<BR>'; } showA.innerHTML=str; } </SCRIPT> <BUTTON onclick="showit()" id=butObj>Ŭ¸¯ÇØ º¸¶ó.</BUTTON> <DIV id=showA>°á°ú Ç¥½Ãâ</DIV>