À¥¹®¼¿¡¼ HTML <APPLET> ű׷Π»ý¼ºµÈ ¼öÇàÇÒ ¼ö ÀÖ´Â applet °³Ã¼¸¦ ÆäÀÌÁö¿¡ Æ÷ÇÔ½ÃÅ°°Ô ÇÑ´Ù.
document.applets['appletName']
Script | [propVal=]..propName; | |
HTML | propName="propVal">innerString |
HTML <APPLET> ű׷Π»ý¼ºµÈ´Ù.
¹®¼ÀÇ ÃÑ applet °³¼ö´Â applets.length·Î ¾Ë ¼ö ÀÖ´Ù.
applet °³Ã¼´Â ÀÌ ¹è¿º¯¼öÀÇ »öÀιøÈ£³ª ¾ÞÄ¿¸íÀ» È£ÃâÇÔÀ¸·Î¼ Á¢¼ÓÇÒ ¼ö ÀÖ´Ù.
À¥¹®¼»ó¿¡¼ Javascript ¾ÖÇ÷¿À» »ç¿ëÇÏ°Ô Çϱâ À§Çؼ´Â <APPLET> ÅÂ±× ¼Ó¿¡ 'MAYSCRIPT'¸¦ ¸í½ÃÇÏ¿©¾ß ÀÌ À¥¹®¼¿¡ Javascript ¾ÖÇ÷¿ÀÌ ÀÖÀ»¼ö ÀÖ´Ù´Â ¶æÀ̸ç, ¸í½ÃÇÏÁö ¾ÊÀ¸¸é JavascriptÀº Á¦¿ÜÇÏ°í ¼öÇàÇÏ°Ô µÈ´Ù.
¹®¼°¡ ´Ù ÀÐÈ÷±â Àü¿¡ applets °³Ã¼¸¦ È£ÃâÇϸé È£ÃâÇÑ °÷±îÁöÀÇ ¾ØÄ¿ ¹è¿º¯¼ö¸¦ °®°Ô µÇ¹Ç·Î ·ÎµùÀÌ ¿Ï·áµÈ ´ÙÀ½¿¡ È£ÃâÇÏ¿©¾ß ÀüüÀûÀÎ ¹®¼ÀÇ ³»¿ëÀ» ¾Ë ¼ö ÀÖ´Ù.
»ç¿ëÀÚ ÄÄÇ»ÅÍ°¡ Microsoft VM(Microsoft Virtual Machine) ¼³Ä¡µÈ »óÅ¿¡¼ applet ¿¤·¹¸àÆ®·Î ÁöÁ¤ÇÑ ¼öÇàµÉ¼ö ÀÖ´Â ³»¿ë¿¡ »ç¿ëµÈ´Ù.
ÀÌ °³Ã¼´Â IE3.0¿¡¼ Áö¿øµÇ°í ½ºÅ©¸³Æ®´Â IE4.0¿¡¼ ºÎÅÍ Áö¿øµÈ´Ù.
ÀÌ ¿¤·¹¸àÆ®´Â ÀζóÀÎ ¿¤·¹¸àÆ®ÀÌ´Ù.
ÀÌ ¿¤·¹¸àÆ®´Â Á¾·áűװ¡ ÇÊ¿äÇÏ´Ù.
ÀÌ °³Ã¼´Â (¿µ¹®)HTML3.2¿¡¼ ºÒ·®ÈµÇ¾ú°í (¿µ¹®)DOM Level 1(W3C Document Object Model)¿¡ Á¤ÀǵǾú´Ù.
¼³¸íÀ» À§ÇÑ ¿¹Á¦
ÀÌÀü ÇüÁ¦
|
¼³¸íÀº ¾Æ·¡ ¿¹Á¦¸¦ ÂüÁ¶Ç϶ó. <APPLET id=oObj name="Dizzer" code="Dizzer.class" alt="JAVA Applet" width="200" height="35" codebase="../public/class" MAYSCRIPT style="border:solid 1 blue" class="testClass" lang="ko" language="javascript" title="Applet ¿¹Á¦"> <param name="FontFace" value="±Ã¼"> <param name="Size" value="25"> <param name="Text" value="°ßº» ¾ÖÇ÷¿"></APPLET> <p align=center> <FORM name="AplForm"> <INPUT type="button" name="AplButton" value="½ÃÀÛ" onClick="AppControl()"> </FORM></p> <SCRIPT language="JavaScript1.2"> function AppControl(){ // ±â´ÉÇÔ¼ö ½ÃÀÛ myApp=document.applets[0]; // ¾ÖÇ÷¿ ¹è¿º¯¼ö Áß Ã¹¹ø°Í(¾Ö´ç ¾ÖÇ÷¿)À» myApp º¯¼öÀ̸§À¸·Î objButton=document.AplForm.AplButton; // ´©¸§´ÜÃ߸¦ °£´ÜÈ÷ ÀοëÇϱâ À§ÇÏ¿© º°µµ À̸§ objButtonÀ¸·Î objButton.value=(objButton.value=='ÁßÁö') ? '½ÃÀÛ':'ÁßÁö'; // Ŭ¸¯ÇÏ¸é ´ÜÃß°ª º¯°æ(»ïÇ׿¬»ê) if (objButton.value != 'ÁßÁö') myApp.stop() // ¾ÖÇ÷¿ ÁßÁö else myApp.start(); // ¾ÖÇ÷¿ ½ÃÀÛ } // ±â´ÉÇÔ¼ö Á¾·á </SCRIPT> |
Ä÷º¼Ç | ¼³¸í°ú ¿¹Á¦ ÄÚµå | °á°ú | Âü°í |
---|---|---|---|
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> |
Java appletÀÇ ¸ðµç °øÅë ¼Ó¼ºµé´Â applet °³Ã¼¿¡¼ »ó¼ÓµÈ´Ù.
style | script |
---|---|
{accelerator:val} | obj.style.accelerator[=val] |
¢¡ °³Ã¼°¡ ´ÜÃàÅ°¸¦ °¡Áö°í Àִ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{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ÀÇ ¼Ò°³ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{bottom:val} | obj.style.bottom[=val] |
¢¡ °³Ã¼ ü°èµµ»ó ¾Æ·¡ÂÊ °³Ã¼¿ÍÀÇ °Å¸®¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{clear:val} | obj.style.clear[=val] |
¢¡ °³Ã¼¿¡¼ ºÎµ¿(float)ºÎºÐÀÇ ¸éÀÇ ¿ÞÂÊ, ¿À¸¥ÂÊ È¤Àº ¾çÂÊÀ¸·Î Ç¥ÇöÀÌ Çã¿ëÇϴ°¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{clip:val} | obj.style.clip[=val] |
¢¡ °³Ã¼ÀÇ ¾î´À ºÎºÐÀ» º¸ÀÌ°Ô ÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{color:val} | obj.style.color[=val] |
¢¡ °³Ã¼ÀÇ ±ÛÀÚ »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{cursor:val} | obj.style.cursor[=val] |
¢¡ °³Ã¼À§¿¡¼ ¸¶¿ì½º Æ÷ÀÎÅÍÀÇ º¸ÀÌ´Â ÇüŸ¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{display:val} | obj.style.display[=val] |
¢¡ °³Ã¼¸¦ µð½ºÇ÷¹ÀÌÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{font-size:val} | obj.style.fontSize[=val] |
¢¡ °³Ã¼ ÅؽºÆ®¿¡¼ »ç¿ëÇÑ ±Û²ÃÀÇ Å©±â¸¦ ³ªÅ¸³»´Â ¼öÄ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.hasLayout |
¢¡ °³Ã¼°¡ ·¹À̾ƿô(layout)À» °¡Áö°í Àִ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù. | |
{height:val} | obj.style.height[=val] |
¢¡ °³Ã¼ÀÇ ³ôÀ̸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{layout-grid:val} | obj.style.layoutGrid[=val] |
¢¡ ¹®ÀÚµéÀÇ ·¹À̾ƿôÀ» ÁöÁ¤ÇÏ´Â ¹®¼ ±×¸®µå(grid) ¼Ó¼ºµéÀ» ÀÏ°ýÀûÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{layout-grid-mode:val} | obj.style.layoutGridMode[=val] |
¢¡ ÅؽºÆ® ·¹À̾ƿô ±×¸®µå¿¡ °¡·Î, ¼¼·Î°¡ »ç¿ëµÇ¾ú´Â°¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù | |
{left:val} | obj.style.left[=val] |
¢¡ °³Ã¼ ü°èµµ»ó ¿ÞÂÊ °³Ã¼¿ÍÀÇ °Å¸®¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.. | |
{overflow:val} | obj.style.overflow[=val] |
¢¡ °³Ã¼ÀÇ ³»¿ëÀÌ ³ôÀ̳ª ³Êºñ¸¦ ÃÊ°úÇÏ¿´À» ¶§ ¾î¶»°Ô ó¸®ÇÒ °ÍÀΰ¡¸¦ ³ªÅ¸³»´Â °ªÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{overflow-x:val} | obj.style.overflowX[=val] |
¢¡ °³Ã¼ÀÇ ³»¿ëÀÌ ³Êºñ¸¦ ÃÊ°úÇÏ¿´À» ¶§ ±× ³»¿ëÀ» ¾î¶»°Ô ó¸®ÇÒ °ÍÀΰ¡¸¦ ³ªÅ¸´Ï´Â °ªÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{overflow-y:val} | obj.style.overflowY[=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 ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ³ôÀ̸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{position:val} | obj.style.position[=val] |
¢¡ °³Ã¼ÀÇ À§Ä¡½ÃÅ´ ¹æ½ÄÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.posLeft[=val] |
¢¡ left ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ¿ÞÂÊ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.posRight[=val] |
¢¡ right ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ¿À¸¥ÂÊ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.posTop[=val] |
¢¡ top ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ À§ÂÊ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
¾ø½¿ | obj.style.posWidth[=val] |
¢¡ width ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ³Êºñ¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{right:val} | obj.style.right[=val] |
¢¡ °³Ã¼ ü°èµµ»ó ¿À¸¥ÂÊ °³Ã¼¿ÍÀÇ °Å¸®¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{scrollbar-3dlight-color:val} | obj.style.scrollbar3dLightColor[=val] |
¢¡ ½ºÅ©·Ñ ¹Ú½º¿Í ½ºÅ©·Ñ¹Ù È»ìÀÇ À§Âʸé°ú ¿ÞÂʸéÀÇ »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{scrollbar-arrow-color:val} | obj.style.scrollbarArrowColor[=val] |
¢¡ ½ºÅ©·Ñ¹ÙÀÇ È»ìÀÇ »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{scrollbar-base-color:val} | obj.style.scrollbarBaseColor[=val] |
¢¡ ½ºÅ©·Ñ¹ÙÀÇ ±âº» »ö»ó(½ºÅ©·Ñ¹Ù, ½ºÅ©·Ñ ¹Ú½º, Æ®·¢, È»ì)À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{scrollbar-darkshadow-color:val} | obj.style.scrollbarDarkShadowColor[=val] |
¢¡ ½ºÅ©·Ñ¹ÙÀÇ »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{scrollbar-face-color:val} | obj.style.scrollbarFaceColor[=val] |
¢¡ ½ºÅ©·Ñ ¹Ú½º¿Í ½ºÅ©·Ñ¹ÙÀÇ È»ìÀÇ »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{scrollbar-highlight-color:val} | obj.style.scrollbarHighlightColor[=val] |
¢¡ ½ºÅ©·Ñ ¹Ú½º¿Í ½ºÅ©·Ñ¹Ù È»ìÀÇ À§Âʸé°ú ¿ÞÂʸéÀÇ »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{scrollbar-shadow-color:val} | obj.style.scrollbarShadowColor[=val] |
¢¡ ½ºÅ©·Ñ ¹Ú½º¿Í ½ºÅ©·Ñ¹Ù È»ìÀÇ ¾Æ·¡Âʸé°ú ¿À¸¥ÂʸéÀÇ »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{scrollbar-track-color:val} | obj.style.scrollbarTrackColor[=val] |
¢¡ ½ºÅ©·Ñ¹Ù Æ®·¢(track) ¿¤·¹¸àÆ®ÀÇ »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{float:val} | obj.style.styleFloat[=val] |
¢¡ °³Ã¼¿¡¼ ¾î´À ¹æÇâÀ¸·Î ÅؽºÆ®°¡ È带 °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{text-autospace:val} | obj.style.textAutospace[=val] |
¢¡ Á¶Á¤µÈ ¹®ÀÚ¸¦ À§ÇÑ ÀÚµ¿ ¹®ÀÚ °£°Ý ¸ÂÃ߱⸦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{text-underline-position:val} | obj.style.textUnderlinePosition[=val] |
¢¡ °³Ã¼ÀÇ textDecoration ¼Ó¼ºÀÌ 'underline'·Î ¼³Á¤µÈ °æ¿ì ¹ØÁÙÀÇ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{top:val} | obj.style.top[=val] |
¢¡ °³Ã¼ ü°èµµ »ó ¹Ù·ÎÀ§ÀÇ °³Ã¼·ÎºÎÅÍÀÇ °Å¸®¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{visibility:val} | obj.style.visibility[=val] |
¢¡ °³Ã¼ÀÇ ³»¿ëÀÌ µð½ºÇ÷¹ÀÌµÉ °ÍÀΰ¡¸¦¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{width:val} | obj.style.width[=val] |
¢¡ °³Ã¼ÀÇ ³Êºñ¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{word-wrap:val} | obj.style.wordWrap[=val] |
¢¡ ³»¿ëÀÌ ¿ë±â °³Ã¼ÀÇ ¹üÀ§¸¦ ÃÊ°úÇÏ¸é ´Ü¾î¸¦ ÀÚ¸¦ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{z-index:val} | obj.style.zIndex[=val] |
¢¡ À§Ä¡°¡ Á¤ÇØÁ® ÀÖ´Â °³Ã¼ÀÇ ½ºÅÃÅ·(À§¿¡¼ º¸ÀÌ´Â) ¼ø¼¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. | |
{zoom:val} | obj.style.zoom[=val] |
¢¡ °³Ã¼ÀÇ È®´ë ¹èÀ²À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
Java appletÀÇ ¸ðµç °øÅë ¸Þ¼µåµé´Â applet °³Ã¼¿¡¼ »ó¼ÓµÈ´Ù.
¸Þ¼µå | ¼³¸í |
---|---|
addBehavior | ¿¤·¹¸àÆ®¿¡ behavior¸¦ Ãß°¡ÇÑ´Ù. |
applyElement | °³Ã¼¸¦ ´Ù¸¥ ¿¤·¹¸àÆ®ÀÇ ÀÚ½ÄÀ̳ª ¸ðü °³Ã¼·Î ¸¸µç´Ù. |
attachEvent | À̺¥Æ®¿¡ ƯÁ¤ ±â´ÉÀ» ¹¾î, ±â´ÉÇÔ¼ö°¡ °³Ã¼¿¡¼ À̺¥Æ®°¡ ¹ß»ýµÇ¸é ¾ðÁ¦³ª È£ÃâµÇ°Ô ÇÑ´Ù. À̺¥Æ®ÀÇ Á¦°Å´Â detachEvent¿¡¼ ÇÑ´Ù. ¹Ýȯ°ªÀº ºÎ¿ï°ªÀÌ´Ù. |
blur | ÁöÁ¤ÇÑ °³Ã¼¿¡ ÃÊÁ¡À» ÁÖ°í onfocusÀ̺¥Æ®¿¡ ÁöÁ¤ÇÑ Ã³¸®ÀÚ Äڵ带 ¼öÇàÇÑ´Ù. |
clearAttributes | °³Ã¼ÀÇ ¸ðµç ¾ÖÆ®¸®ºäÆ®µé°ú °ªµéÀ» »èÁ¦ÇÑ´Ù. |
click |
IE NS
°³Ã¼¸¦ Ŭ¸¯ÇÏ´Â °Í°ú µ¿ÀÏÇÏ°Ô onclick À̺¥Æ®°¡ ¹ß»ýµÈ´Ù.
¹®¹ý: .click() |
cloneNode | ¹®¼ °èÅëµµ·ÎºÎÅÍ °³Ã¼ÀÇ ÂüÁ¶¸¦ º¹»çÇÑ´Ù. |
componentFromPoint | ¾î¶² À̺¥Æ®¿¡¼ ÁöÁ¤µÈ ÁÂÇ¥¿¡ À§Ä¡ÇÑ ÄÞÆ÷³ÙÆ®¸¦ ¹ÝȯÇÑ´Ù. |
contains | °³Ã¼ ¼Ó¿¡ ÁÖ¾îÁø ¿¤·¹¸àÆ®°¡ Àִ°¡¸¦ Á¡°ËÇÑ´Ù. |
detachEvent | attachEvent À̺¥Æ®·Î ÷ºÎµÈ À̺¥Æ®¸¦ Á¦°ÅÇÑ´Ù. ¹Ýȯ°ªÀº ¾ø´Ù. |
fireEvent | °³Ã¼¿¡¼ ÁöÁ¤ÇÑ À̺¥Æ®¸¦ ¹ß»ý½ÃŲ´Ù. |
focus | ÁöÁ¤ÇÑ °³Ã¼¿¡ ÃÊÁ¡À» ÁÖ°í onfocusÀ̺¥Æ®¿¡ ÁöÁ¤ÇÑ Ã³¸®ÀÚ Äڵ带 ¼öÇàÇÑ´Ù. |
getAdjacentText | °³Ã¼ÀÇ ÀÎÁ¢ ¹®ÀÚ¿À» ¹ÝȯÇÑ´Ù. |
getAttribute | ÁöÁ¤µÈ ¾ÖÆ®¸®ºäÆ®ÀÇ °ªÀ» ¹ÝȯÇÑ´Ù. |
getAttributeNode | IE6 attribute.name¼Ó¼ºÀ» ÂüÁ¶ÇÏ´Â attribute °³Ã¼¸¦ ¹ÝȯÇÑ´Ù. |
getBoundingClientRect | TextRectangle °³Ã¼µéÀÇ Ä÷º¼Ç¿¡ ¿¬°áµÊÀ» ÁöÁ¤ÇÏ´Â °³Ã¼¸¦ ¹ÝȯÇÑ´Ù. |
getClientRects | °³Ã¼ÀÇ ³»¿ëÀ̳ª Ŭ¶óÀ̾ðÆ® ¹üÀ§(range)ÀÇ ¹èÄ¡(layout)¸¦ ±â¼úÇÏ´Â »ç°¢Çü(rectangle)µéÀÇ Ä÷º¼ÇÀ» ¹ÝȯÇÑ´Ù. °¢ »ç°¢ÇüÀº ÇÑ ÁÙÀÌ´Ù. |
getElementsByTagName | ÁöÁ¤µÈ ¿¤·¹¸àÆ®ÀÇ À̸§¿¡ ¸Â´Â °³Ã¼µéÀÇ Ä÷º¼ÇÀ» ¹ÝȯÇÑ´Ù. |
hasChildNodes | °³Ã¼°¡ Àڽݳü¸¦ °¡Áö°í °¡Áö°í Àִ°¡¸¦ ³ªÅ¸³»´Â °ªÀ» ¹ÝȯÇÑ´Ù. |
insertAdjacentElement | ÁöÁ¤ÇÑ À§Ä¡¿¡ ¿¤·¹¸àÆ®¸¦ »ðÀÔÇÑ´Ù. |
mergeAttributes | ÁöÁ¤µÈ °³Ã¼¿¡ ¸ðµç Àбâ/¾²±â ¾ÖÆ®¸®ºäÆ®¸¦ º¹»çÇÑ´Ù. |
namedRecordset | À̸§ÀÖ´Â µ¥ÀÌÅÍ ¿øº» °³Ã¼ DSO(data source object)·ÎºÎÅÍ ÀÏÄ¡ÇÏ´Â ¸®Äڵ弼ũ °³Ã¼¸¦ ¹ÝȯÇÑ´Ù. |
normalize | IE6 °³Ã¼ÀÇ ÀÎÁ¢ TextNode °³Ã¼¸¦ ÅëÇÕÇÏ¿© ¹®¼ °³Ã¼ ¸ðµ¨À» Á¤»óÈÇÑ´Ù. |
releaseCapture | ÇöÀç ¹®¼ÀÇ °³Ã¼·Î ºÎÅÍ ¸¶¿ì½º ĸÃĸ¦ Á¦°ÅÇÑ´Ù. |
removeAttribute | °³Ã¼·Î ºÎÅÍ ¾ÖÆ®¸®ºäÆ®¸¦ Á¦°ÅÇÑ´Ù. |
removeAttributeNode | IE6 °³Ã¼·Î ºÎÅÍ ¾ÖÆ®¸®ºäÆ® °³Ã¼ ³ëµå¸¦ Á¦°ÅÇÑ´Ù. |
removeBehavior | °³Ã¼·ÎºÎÅÍ behavior¸¦ Á¦°ÅÇÑ´Ù. |
removeExpression | ÁöÁ¤ÇÑ ¼Ó¼ºÀ¸·ÎºÎÅÍ Ç¥Çö(expression)À» Á¦°ÅÇÑ´Ù. |
replaceAdjacentText | °³Ã¼¿¡ ÀÎÁ¢ ¹®ÀÚ¿À» ±³Ã¼ÇÑ´Ù. |
scrollIntoView | °³Ã¼¸¦ º¸±â°Ô ±¼¸²(scroll)ÇÏ°í À©µµ¿ìÀÇ ¸ÇÀ§³ª ¾Æ·¡¿¡ Á¤·ÄÇÑ´Ù. |
setActive | °³Ã¼¿¡ ÃÊÁ¡À» ÁÖÁö ¾ÊÀº »óÅ¿¡¼ È°¼ºÀ¸·Î ¼³Á¤ÇÑ´Ù. |
setAttribute | ÁöÁ¤µÈ ¾ÖÆ®¸®ºäÆ®¸¦ ¼³Á¤ÇÑ´Ù. |
setAttributeNode | IE6 °³Ã¼ÀÇ ºÎºÐÀ¸·Î ¾ÖÆ®¸®ºäÆ® °³Ã¼ ³ëµå¸¦ ¼³Á¤ÇÑ´Ù. |
setCapture | ÇöÀç ¹®¼¿¡ ¼Ò¼ÓµÈ °³Ã¼ÀÇ ¸¶¿ì½º ĸÃĸ¦ ¼³Á¤ÇÑ´Ù |
setExpression | ÁöÁ¤µÈ °³Ã¼ÀÇ Ç¥Çö(expression)À» ¼³Á¤ÇÑ´Ù. |
start | IE4 NS3
°³Ã¼ÀÇ ÀÛµ¿À» ½ÃÀÛÇÑ´Ù.
¹®¹ý: .start() |
stop | IE4 NS3
°³Ã¼ÀÇ ÀÛµ¿À» ÁßÁöÇÑ´Ù.
¹®¹ý: .stop() |
swapNode | ¹®¼ °èÅëµµ¿¡¼ µÎ °³Ã¼ÀÇ À§Ä¡¸¦ ¼·Î ¹Ù²Û´Ù. |
À̺¥Æ® | ¼³¸í |
---|---|
onactivate | ¿¤·¹¸àÆ® °³Ã¼°¡ activeElement ¼Ó¼ºÀ¸·Î ¼³Á¤µÇ¸é ¹ß»ýÇÑ´Ù. |
onbeforeactivate | IE6 ¿¤·¹¸àÆ® °³Ã¼°¡ activeElement ¼Ó¼ºÀ¸·Î ¼³Á¤µÇ±â ¹Ù·Î Àü¿¡ ¹ß»ýÇÑ´Ù. |
onbeforecut | ¹®¼·Î ºÎÅÍ ¼±ÅÃÇÑ ºÎºÐÀÇ À߶󳻱â Çϱ⠹ٷΠÀü¿¡ ¿øº» °³Ã¼¿¡ ¹ß»ýÇÑ´Ù. |
onbeforeactivate | IE6 ¿¤·¹¸àÆ® °³Ã¼°¡ activeElement ¼Ó¼ºÀ¸·Î ¼³Á¤µÇ±â ¹Ù·Î Àü¿¡ ¹ß»ýÇÑ´Ù. |
onbeforeeditfocus | ÆíÁý °¡´ÉÇÑ °³Ã¼°¡ È°¼ºÈµÇ°Å³ª ÆíÁý °¡´ÉÇÑ ¿ë±â¿¡ Á¦¾î ¼±ÅÃÀÌ ÀÌ·ç¾î Áö±â ¹Ù·Î Àü¿¡ ¹ß»ýÇÑ´Ù. |
onbeforepaste | ½Ã½ºÅÛ Å¬¸³º¸µå(À߶󳽰ųª º¹»çÇÑ ³»¿ëÀÌ ÀÖ´Â)·ÎºÎÅÍ ¹®¼ÀÇ ¸ñÇ¥°³Ã¼¿¡ ºÙ¿© ³Ö±â ¹Ù·Î Àü¿¡ ¹ß»ýÇÑ´Ù. |
onblur |
IE4 NS3
°³Ã¼°¡ ÃÊÁ¡À» »ý½ÇÇßÀ» ¶§ ¹ß»ýÇÑ´Ù.
¹®¹ý: .onblur='JsCode' |
oncellchange | µ¥ÀÌÅÍ Á¦°øÀÚ¿¡¼ µ¥ÀÌÅÍÀÇ ³»¿ëÀÌ º¯°æµÇ¾úÀ» ¶§ ¹ß»ýÇÑ´Ù. |
onclick |
°³Ã¼¿¡¼ ¸¶¿ì½º¸¦ Ŭ¸¯(´·µ´Ù ³õÀ½)ÇÏ¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .onclick='JsCode' |
oncontextmenu | Ŭ¶óÀ̾ðÆ® Áö¿ª¿¡¼ ¿À¸¥ÂÊ ¸¶¿ì½º ´ÜÃ߸¦ Ŭ¸¯ÇÏ¿´À» ¶§³ª ÄÜÅؽºÆ®(context) ¸Þ´º¸¦ ¿¾úÀ» ¶§ ¹ß»ý |
oncontrolselect | »ç¿ëÀÚ°¡ °³Ã¼ÀÇ Á¦¾î ¼±ÅÃÀ» ÇÏ·Á°í ÇÒ ¶§ ¹ß»ýÇÑ´Ù. |
oncut | ¹®¼ÀÇ ¼±ÅÃÇÑ ³»¿ëÀ» À߶ó ½Ã½ºÅÛ Å¬¸³º¸µå(À߶󳽰ųª º¹»çÇÑ ³»¿ëÀÌ ÀÖ´Â)¿¡ ³ÖÀ» ¶§ ¿øº» °³Ã¼¿¡ ¹ß»ý |
ondataavailable | µ¿±âÀûÀ¸·Î Àü´ÞÇÏ´Â µ¥ÀÌÅÍ ¿øõ °³Ã¼·Î ºÎÅÍ µ¥ÀÌÅÍ°¡ µµÂøÇϸé ÁÖ±âÀûÀ¸·Î ¹ß»ýµÈ´Ù. |
ondatasetchanged | µ¥ÀÌÅÍ ¿øõ °³Ã¼ÀÇ º¯°æ¿¡ ÀÇÇÑ °¨Áö°¡ ÀÖÀ» ¶§ ¹ß»ýµÈ´Ù. |
ondatasetcomplete | µ¥ÀÌÅÍ ¿øõ °³Ã¼·ÎºÎÅÍ ¸ðµç µ¥ÀÌÅ͸¦ ¹Þ¾Æ »ç¿ëÇÒ ¼ö ÀÖÀ» ¶§ ¹ß»ýÇÑ´Ù. |
ondblclick |
°³Ã¼¿¡¼ ¸¶¿ì½º¸¦ ¿¬¼Ó µÎ¹ø Ŭ¸¯ÇÏ¸é ¹ß»ýµÇ°í ÁöÁ¤µÈ JsCode¸¦ ¼öÇàÇÑ´Ù.
¹®¹ý: .ondblclick='JsCode' |
ondeactivate | ¸ðü ¹®¼¿¡¼ activeElement ¼Ó¼ºÀÇ ¿¤·¹¸àÆ® °³Ã¼°¡ ÇöÀç °³Ã¼·Î ´Ù¸¥ °³Ã¼·Î º¯°æµÇ¸é ¹ß»ýÇÑ´Ù. |
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' |
onload |
IE3.02 NS2
°³Ã¼°¡ ºÎ¶ó¿ìÀú¿¡ ·ÎµùÀÌ ¿Ï·áµÇ¸é ¹Ù·Î ¹ß»ýÇÑ´Ù.
¹®¹ý: .onload='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) ¼Ó¼ºÀ» º¯°æ½ÃÅ°¸é ¹ß»ýÇÑ´Ù. |
onresize | À©µµ¿ì³ª ÇÁ·¹ÀÓÀÌµî °³Ã¼ÀÇ Å©±â°¡ Á¶Á¤µÇ¾ú ¶§ ¹ß»ýÇÑ´Ù |
onresizeend | Á¦¾î ¼½¼Ç¿¡¼ °³Ã¼ÀÇ Å©±â º¯°æÀÌ ¿Ï·áµÇ¸é ¹ß»ýÇÑ´Ù. |
onresizestart | Á¦¾î ¼½¼Ç¿¡¼ °³Ã¼ÀÇ Å©±â º¯°æÀÌ ½ÃÀÛµÇ¸é ¹ß»ýÇÑ´Ù. |
onrowenter | µ¥ÀÌÅÍ ¿øõ¿¡¼ ÇöÀçÀÇ ÁÙÀÌ º¯°æµÇ¾ú°í °³Ã¼¿¡ »õ·Î¿î °ªÀÌ ÀÖÀ½À» ³ªÅ¸³»±â À§ÇÏ¿© ¹ß»ýµÈ´Ù. |
onrowexit | °³Ã¼¿¡¼ ÇöÀç ÁÙÀ» º¯°æÇϱâÀÇ À§ÇÑ µ¥ÀÌÅÍ ¿øõ Á¦¾î ¹Ù·Î Àü¿¡ ¹ß»ýÇÑ´Ù. |
onrowsdelete | ¸®Äڵ弼Ʈ(recordset)¿¡¼ ÁÙµéÀÌ »èÁ¦µÉ »óȲÀÌ µÇ¸é ¹ß»ýÇÑ´Ù. |
onrowsinserted | ÇöÀçÀÇ ¸®Äڵ弼Ʈ¿¡ »õ·Î¿î ÁÙµéÀÌ »ðÀÔµÈ Á÷ÈÄ¿¡ ¹ß»ýµÈ´Ù. |
onscroll | °³Ã¼ÀÇ ½ºÅ©·Ñ ¹Ú½ºÀÇ ½ºÅ©·Ñ¹Ù¸¦ ±¼·Á À§Ä¡¸¦ º¯°æ½ÃÅ°¸é ¹ß»ýÇÑ´Ù. |
Behavior | ¼³¸í |
---|---|
clientCaps | Explorer¿¡ ´ëÇÑ Á¤º¸¸¦ Á¦°øÇÏ°í ¿äû¿¡ ÀÇÇÏ¿© ºê¶ó¿ìÀúÀÇ ÄÞÆ÷³ÙÆ®¸¦ ¼³Ä¡ÇÏ´Â ¹æ¹ý´Ã Á¦°øÇÑ´Ù. |
download | ÆÄÀÏÀ» ´Ù¿î·ÎµåÇÏ°í ¿Ï·áµÇ¸é ¿Ï·á¸¦ ¾Ë·ÁÁÖ´Â ±â´ÉÀ» °®°íÀÖ´Ù. |
homePage | »ç¿ëÀÚÀÇ È¨ÆäÀÌÁö¿¡ ´ëÇÑ Á¤º¸¸¦ Æ÷ÇÔÇÏ°í ÀÖ´Ù. |
applet ¿¹Á¦ (¸Ç À§ ¿¹Á¦¿¡¼ °è¼Ó)
¿¹Á¦ÀÇ HTML űװ¡ ¼öÇàµÇ¸é ÀÚµ¿ÀûÀ¸·Î "myApp"À̶ó´Â applet °³Ã¼¸¦ »ý¼ºÇÏ°í, document.applets ¼Ó¼º ¹è¿º¯¼ö¿¡ Ãß°¡ÇÏ¿© document.applets[0]·Î ÂüÁ¶ÇÒ ¼ö ÀÖ°Ô µÈ´Ù. MAYSCRIPTÀÇ ¸í½Ã·Î JavaScript¸¦ ¼öÇàÇÒ ¼ö ÀÖ°Ô ÇØ ÁØ´Ù. ´ç¿¬È÷ ¸ÕÀú <APPLET> ű׳ª document.applets['myApp']°¡ ¸í½ÃµÇ¾î¾ß ÇÑ´Ù.
<SCRIPT language="JavaScript"> function AppControl(){alert('±ÍÇÏÀÇ ºê¶ó¿ìÀú°¡ Áö¿øÇÏÁö ¾Ê´Â´Ù.')} // Javascript 1.2 ¹Ì¸¸ °É·¯³»±â var str='<BR>'; str+='document.applets.length='+document.applets.length+'<BR>'; // ¹®¼ÀÇ ¾ÖÇ÷¿ °¹¼ö str+='document.applets[0].name='+document.applets[0].name+'<BR>'; // ¾ÖÇ÷¿ ¸íĪ str+='document.applets[0].code='+document.applets[0].code+'<BR>'; // ¾ÖÇ÷¿ ÄÚµå str+='document.applets[0].codebase='+document.applets[0].codebase+'<BR>'; // ¾ÖÇ÷¿ ÄÚµå À§Ä¡ document.write(str); // °á°ú Ãâ·Â ¹®ÀÚ¿ Ãâ·Â </SCRIPT> <SCRIPT language="JavaScript1.2"> function AppControl(){ // ±â´ÉÇÔ¼ö ½ÃÀÛ myApp=document.applets[0]; // ¾ÖÇ÷¿ ¹è¿º¯¼ö Áß Ã¹¹ø°Í(¾Ö´ç ¾ÖÇ÷¿)À» myApp º¯¼öÀ̸§À¸·Î objButton=document.AplForm.AplButton; // ´©¸§´ÜÃ߸¦ °£´ÜÈ÷ ÀοëÇϱâ À§ÇÏ¿© º°µµ À̸§ objButtonÀ¸·Î objButton.value=(objButton.value=='ÁßÁö') ? '½ÃÀÛ':'ÁßÁö'; // Ŭ¸¯ÇÏ¸é ´ÜÃß°ª º¯°æ(»ïÇ׿¬»ê) if (objButton.value != 'ÁßÁö') myApp.stop() // ¾ÖÇ÷¿ ÁßÁö else myApp.start(); // ¾ÖÇ÷¿ ½ÃÀÛ } // ±â´ÉÇÔ¼ö Á¾·á </SCRIPT>