ÆíÁý±â°¡ ÀÐÀ» ¼ö ÀÖ´Â À¯ÀÏÇÑ ÀνÄÀÚ¸¦ »ý¼ºÇÏ¿© ÂüÁ¶ÇÑ´Ù,
Script | [propVal=]..propName; | |
HTML | propName="propVal">innerString |
¼³¸íÀ» À§ÇÑ ¿¹Á¦
<HEAD> </HEAD> |
Ä÷º¼Ç | ¼³¸í°ú ¿¹Á¦ ÄÚµå | °á°ú | Âü°í |
---|---|---|---|
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> | |||
filters | °³Ã¼¿¡ Àû¿ëµÈ ¸ðµç filterµéÀÇ ¹è¿º¯¼ö¸¦ ÂüÁ¶ÇÏ°í ¹ÝȯÇÑ´Ù. | ||
<SCRIPT>document.write(oObj.filters.length)</SCRIPT> |
style | script |
---|---|
{background-position-x:val} | obj.style.backgroundPositionX[=val] |
¢¡ backgroundPosition ¼Ó¼ºÀÇ x ÁÂÇ¥¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{background-position-y:val} | obj.style.backgroundPositionY[=val] |
¢¡ backgroundPosition ¼Ó¼ºÀÇ y ÁÂÇ¥¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{behavior:val} | obj.style.behavior[=val] |
¢¡ DHTML behaviorÀÇ ¼Ò°³ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{layout-grid:val} | obj.style.layoutGrid[=val] |
¢¡ ¹®ÀÚµéÀÇ ·¹À̾ƿôÀ» ÁöÁ¤ÇÏ´Â ¹®¼ ±×¸®µå(grid) ¼Ó¼ºµéÀ» ÀÏ°ýÀûÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{layout-grid-mode:val} | obj.style.layoutGridMode[=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-underline-position:val} | obj.style.textUnderlinePosition[=val] |
¢¡ °³Ã¼ÀÇ textDecoration ¼Ó¼ºÀÌ 'underline'·Î ¼³Á¤µÈ °æ¿ì ¹ØÁÙÀÇ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
¸Þ¼µå | ¼³¸í |
---|---|
addBehavior | ¿¤·¹¸àÆ®¿¡ behavior¸¦ Ãß°¡ÇÑ´Ù. |
appendChild | °³Ã¼ÀÇ Àڽݳü·Î ÇÑ ¿¤·¹¸àÆ®¸¦ Ãß°¡ÇÑ´Ù. |
applyElement | °³Ã¼¸¦ ´Ù¸¥ ¿¤·¹¸àÆ®ÀÇ ÀÚ½ÄÀ̳ª ¸ðü °³Ã¼·Î ¸¸µç´Ù. |
clearAttributes | °³Ã¼ÀÇ ¸ðµç ¾ÖÆ®¸®ºäÆ®µé°ú °ªµéÀ» »èÁ¦ÇÑ´Ù. |
cloneNode | ¹®¼ °èÅëµµ·ÎºÎÅÍ °³Ã¼ÀÇ ÂüÁ¶¸¦ º¹»çÇÑ´Ù. |
componentFromPoint | ¾î¶² À̺¥Æ®¿¡¼ ÁöÁ¤µÈ ÁÂÇ¥¿¡ À§Ä¡ÇÑ ÄÞÆ÷³ÙÆ®¸¦ ¹ÝȯÇÑ´Ù. |
contains | °³Ã¼ ¼Ó¿¡ ÁÖ¾îÁø ¿¤·¹¸àÆ®°¡ Àִ°¡¸¦ Á¡°ËÇÑ´Ù. |
fireEvent | °³Ã¼¿¡¼ ÁöÁ¤ÇÑ À̺¥Æ®¸¦ ¹ß»ý½ÃŲ´Ù. |
getAdjacentText | °³Ã¼ÀÇ ÀÎÁ¢ ¹®ÀÚ¿À» ¹ÝȯÇÑ´Ù. |
getAttribute | ÁöÁ¤µÈ ¾ÖÆ®¸®ºäÆ®ÀÇ °ªÀ» ¹ÝȯÇÑ´Ù. |
getAttributeNode | IE6 attribute.name¼Ó¼ºÀ» ÂüÁ¶ÇÏ´Â attribute °³Ã¼¸¦ ¹ÝȯÇÑ´Ù. |
getBoundingClientRect | TextRectangle °³Ã¼µéÀÇ Ä÷º¼Ç¿¡ ¿¬°áµÊÀ» ÁöÁ¤ÇÏ´Â °³Ã¼¸¦ ¹ÝȯÇÑ´Ù. |
getClientRects | °³Ã¼ÀÇ ³»¿ëÀ̳ª Ŭ¶óÀ̾ðÆ® ¹üÀ§(range)ÀÇ ¹èÄ¡(layout)¸¦ ±â¼úÇÏ´Â »ç°¢Çü(rectangle)µéÀÇ Ä÷º¼ÇÀ» ¹ÝȯÇÑ´Ù. °¢ »ç°¢ÇüÀº ÇÑ ÁÙÀÌ´Ù. |
hasChildNodes | °³Ã¼°¡ Àڽݳü¸¦ °¡Áö°í °¡Áö°í Àִ°¡¸¦ ³ªÅ¸³»´Â °ªÀ» ¹ÝȯÇÑ´Ù. |
insertAdjacentElement | ÁöÁ¤ÇÑ À§Ä¡¿¡ ¿¤·¹¸àÆ®¸¦ »ðÀÔÇÑ´Ù. |
insertBefore | ¹®¼ °èÅëµµ¿¡¼ ¸ðü °³Ã¼ÀÇ ÀÚ½Ä ³ëµå·Î ¿¤·¹¸àÆ®¸¦ »ðÀÔÇÑ´Ù. |
mergeAttributes | ÁöÁ¤µÈ °³Ã¼¿¡ ¸ðµç Àбâ/¾²±â ¾ÖÆ®¸®ºäÆ®¸¦ º¹»çÇÑ´Ù. |
normalize | IE6 °³Ã¼ÀÇ ÀÎÁ¢ TextNode °³Ã¼¸¦ ÅëÇÕÇÏ¿© ¹®¼ °³Ã¼ ¸ðµ¨À» Á¤»óÈÇÑ´Ù. |
removeAttribute | °³Ã¼·Î ºÎÅÍ ¾ÖÆ®¸®ºäÆ®¸¦ Á¦°ÅÇÑ´Ù. |
removeAttributeNode | IE6 °³Ã¼·Î ºÎÅÍ ¾ÖÆ®¸®ºäÆ® °³Ã¼ ³ëµå¸¦ Á¦°ÅÇÑ´Ù. |
removeBehavior | °³Ã¼·ÎºÎÅÍ behavior¸¦ Á¦°ÅÇÑ´Ù. |
removeChild | °³Ã¼·ÎºÎÅÍ ÀÚ½Ä ³ëµå¸¦ Á¦°ÅÇÑ´Ù. |
removeNode | ¹®¼ °èÅëµµ¿¡¼ °³Ã¼¸¦ Á¦°ÅÇÑ´Ù. |
replaceAdjacentText | °³Ã¼¿¡ ÀÎÁ¢ ¹®ÀÚ¿À» ±³Ã¼ÇÑ´Ù. |
replaceChild | ÇöÀçÀÇ ÀÚ½Ä ¿¤·¹¸àÆ®¸¦ »õ·Î¿î ÀÚ½Ä ¿¤·¹¸àÆ®·Î ±³Ã¼ÇÑ´Ù. |
replaceNode | °³Ã¼¸¦ ´Ù¸¥ ¿¤·¹¸àÆ®·Î ±³Ã¼ÇÑ´Ù. |
setAttribute | ÁöÁ¤µÈ ¾ÖÆ®¸®ºäÆ®¸¦ ¼³Á¤ÇÑ´Ù. |
setAttributeNode | IE6 °³Ã¼ÀÇ ºÎºÐÀ¸·Î ¾ÖÆ®¸®ºäÆ® °³Ã¼ ³ëµå¸¦ ¼³Á¤ÇÑ´Ù. |
swapNode | ¹®¼ °èÅëµµ¿¡¼ µÎ °³Ã¼ÀÇ À§Ä¡¸¦ ¼·Î ¹Ù²Û´Ù. |
À̺¥Æ® | ¼³¸í |
---|---|
onbeforeactivate | IE6 ¿¤·¹¸àÆ® °³Ã¼°¡ activeElement ¼Ó¼ºÀ¸·Î ¼³Á¤µÇ±â ¹Ù·Î Àü¿¡ ¹ß»ýÇÑ´Ù. |
onbeforecut | ¹®¼·Î ºÎÅÍ ¼±ÅÃÇÑ ºÎºÐÀÇ À߶󳻱â Çϱ⠹ٷΠÀü¿¡ ¿øº» °³Ã¼¿¡ ¹ß»ýÇÑ´Ù. |
onbeforepaste | ½Ã½ºÅÛ Å¬¸³º¸µå(À߶󳽰ųª º¹»çÇÑ ³»¿ëÀÌ ÀÖ´Â)·ÎºÎÅÍ ¹®¼ÀÇ ¸ñÇ¥°³Ã¼¿¡ ºÙ¿© ³Ö±â ¹Ù·Î Àü¿¡ ¹ß»ýÇÑ´Ù. |
onclick |
°³Ã¼¿¡¼ ¸¶¿ì½º¸¦ Ŭ¸¯(´·µ´Ù ³õÀ½)ÇÏ¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .onclick='JsCode' |
oncontextmenu | Ŭ¶óÀ̾ðÆ® Áö¿ª¿¡¼ ¿À¸¥ÂÊ ¸¶¿ì½º ´ÜÃ߸¦ Ŭ¸¯ÇÏ¿´À» ¶§³ª ÄÜÅؽºÆ®(context) ¸Þ´º¸¦ ¿¾úÀ» ¶§ ¹ß»ý |
oncut | ¹®¼ÀÇ ¼±ÅÃÇÑ ³»¿ëÀ» À߶ó ½Ã½ºÅÛ Å¬¸³º¸µå(À߶󳽰ųª º¹»çÇÑ ³»¿ëÀÌ ÀÖ´Â)¿¡ ³ÖÀ» ¶§ ¿øº» °³Ã¼¿¡ ¹ß»ý |
ondblclick |
°³Ã¼¿¡¼ ¸¶¿ì½º¸¦ ¿¬¼Ó µÎ¹ø Ŭ¸¯ÇÏ¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .ondblclick='JsCode' |
ondragstart | ¿¬¼Ó ²ø±â µ¿ÀÛ¿¡¼ ¼±ÅÃÇÑ ÅؽºÆ®³ª °³Ã¼¸¦ ²ø±â ½ÃÀÛÇÏ¸é ¿øº» °³Ã¼¿¡ ¹ß»ýÇÑ´Ù. |
onfilterchange | ½Ã°¢Àû ÇÊÅÍ »óŸ¦ º¯°æÇϰųª º¯°æÀÌ ¿Ï·áµÇ¸é ¹ß»ýÇÑ´Ù. |
onfocusin | IE6 ¿¤·¹¸ÇÆ®¿¡ ÃÊÁ¡À» Á¶±â ¹Ù·Î Àü¿¡ ¿¤·¹¸àÆ®¿¡ ¹ß»ýÇÑ´Ù. |
onfocusout | IE6 ´Ù¸¥ ¿¤·¹¸ÇÆ®·Î ÃÊÁ¡À» À̵¿ÇÏ¸é ¹Ù·Î ÇöÀç ¿¤·¹¸àÆ®¿¡ ¹ß»ýÇÑ´Ù. |
onhelp | È°¼º À©µµ¿ì¿¡¼ µµ¿ò¸»À» À§ÇÏ¿© F1 Å°¸¦ ´©¸£¸é ¹ß»ýµÈ´Ù. |
onkeydown |
°³Ã¼¿¡¼ ÀÚÆÇ(key)À» ´©¸£¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .onkeydown='JsCode' |
onkeypress |
°³Ã¼¿¡¼ ÀÚÆÇ(key)À» ´©¸£°í ÀÖÀ¸¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .onkeypress='JsCode' |
onkeyup |
°³Ã¼¿¡¼ ÀÚÆÇ(key) ´©¸§À» ÇØÁ¦ÇÏ¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .onkeyup='JsCode' |
onmouseenter | ¸¶¿ì½º Æ÷ÀÎÅÍ°¡ °³Ã¼ À§·Î À̵¿ÇÏ¸é ¹ß»ýÇÑ´Ù. |
onmouseleave | ¸¶¿ì½º Æ÷ÀÎÅÍ°¡ °³Ã¼ ¹ÛÀ¸·Î À̵¿ÇÏ¸é ¹ß»ýÇÑ´Ù. |
onmousemove | ¸¶¿ì½º Æ÷ÀÎÅÍ°¡ °³Ã¼ À§¿¡¼ À̵¿ÇÏ¸é ¹ß»ýÇÑ´Ù. |
onmouseover | ¸¶¿ì½º Æ÷ÀÎÅÍ°¡ °³Ã¼ À§·Î À̵¿ÇÏ¸é ¹ß»ýÇÑ´Ù. |
onmouseup |
°³Ã¼¿¡¼ ´ÜÃß ´©¸§À» ÇØÁ¦ÇÏ¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .onmouseup='JsCode' |
onmousewheel | IE6 ¸¶¿ì½º ÈÙ(wheel)À» ±¼¸®¸é ¹ß»ýÇÑ´Ù. |
onpaste | ½Ã½ºÅÛ Å¬¸³º¸µå(À߶󳽰ųª º¹»çÇÑ ³»¿ëÀÌ ÀÖ´Â)·ÎºÎÅÍ ¹®¼ÀÇ ¸ñÇ¥°³Ã¼¿¡ ºÙ¿© ³ÖÀ¸¸é ¹ß»ýÇÑ´Ù. |
onreadystatechange | °³Ã¼ÀÇ Áغñ»óÅÂ(readyState) ¼Ó¼ºÀ» º¯°æ½ÃÅ°¸é ¹ß»ýÇÑ´Ù. |
onselectstart | °³Ã¼°¡ ¼±ÅõDZ⠽ÃÀÛÇÏ¸é ¹ß»ýÇÑ´Ù. |
Behavior | ¼³¸í |
---|---|
clientCaps | Explorer¿¡ ´ëÇÑ Á¤º¸¸¦ Á¦°øÇÏ°í ¿äû¿¡ ÀÇÇÏ¿© ºê¶ó¿ìÀúÀÇ ÄÞÆ÷³ÙÆ®¸¦ ¼³Ä¡ÇÏ´Â ¹æ¹ý´Ã Á¦°øÇÑ´Ù. |
download | ÆÄÀÏÀ» ´Ù¿î·ÎµåÇÏ°í ¿Ï·áµÇ¸é ¿Ï·á¸¦ ¾Ë·ÁÁÖ´Â ±â´ÉÀ» °®°íÀÖ´Ù. |
homePage | »ç¿ëÀÚÀÇ È¨ÆäÀÌÁö¿¡ ´ëÇÑ Á¤º¸¸¦ Æ÷ÇÔÇÏ°í ÀÖ´Ù. |