°³Ã¼°¡ °¡¼Ó Å°(accelerator key)¸¦ Æ÷ÇÔÇϴ°¡¸¦ ³ªÅ¸³»´Â ºÎ¿ï°ªÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
false | °³Ã¼´Â °¡¼ÓÅ°(accelerator key)¸¦ Æ÷ÇÔÇÏ°í ÀÖÁö ¾Ê´Ù. |
true | °³Ã¼´Â °¡¼ÓÅ°(accelerator key)¸¦ Æ÷ÇÔÇÏ°í ÀÖ´Ù. |
ÀÌ ¼Ó¼ºÀº currentStyle¿¡¼´Â ÀбâÀü¿ëÀÌ°í, ±×¿ÜÀÇ °³Ã¼¿¡¼´Â Àбâ/¾²±âÀ̸ç, µðÆúÆ®°ªÀº ¾ø´Ù.
CSS(Cascading Style Sheet) È®ÀåÀº »ó¼ÓµÇÁö ¾Ê´Â´Ù.
accelerator Å°´Â °³Ã¼¸¦ ¼±ÅÃÇϱâ À§ÇÏ¿© »ç¿ëµÇ´Â ÇÑ°³ÀÇ ±ÛÀÚÀÌ´Ù. ALT Å°¸¦ ´©¸£¸é¼ accessKey Å°¸¦ ´©¸£¸é °³Ã¼¿¡ ÃÊÁ¡À» ÁÖ¸ç °³Ã¼¿¡ ¿¬°üµÈ µðÆúÆ® À̺¥Æ®¸¦ ¼öÇàÇÑ´Ù.
ÀÌ ¼Ó¼ºÀº Windows2000 ÀÌÈÄ¿¡ Áö¿øÇϸç, È°¼ºÈ ¼³Á¤µÇ¸é, »ç¿ëÀÚ°¡ ¸Þ´º Ç׸ñ¿¡¼ Ç×ÇØ Ç¥½ÃÀÚ¸¦ °¨Ãâ°í ALT Å°¸¦ ´·¶À» ¶§ ³ªÅ¸³ª°Ô ÇÒ ¼ö ÀÖ´Ù.
°³Ã¼ | script | CSS | IE ¹öÀü |
---|
¼Ó¼ºÀ» º¯°æ½ÃÅ°¸ç ALT+n¸¦ Ŭ¸¯ÇØ º¸¶ó
label ¿¤·¹¸àÆ® ¼ÓÀÇ U ¿¤·¹¸àÆ®¿¡¼ ¢¡¿¡´Â accelerator ¼Ó¼º°ªÀÌ trueÀ¸·Î ÁöÁ¤µÇ¾î °¡¼ÓÅ°(accelerator key)ÀÌ´Ù.
¼±ÅûçÇ× Á¦¾îÆÇ¢¡µð½ºÇ÷¹ÀÌ¢¡È¿°ú¢¡<ALT>Å° »ç¿ëÇÒ ¶§±îÁö Å°º¸µå Ž»ö Ç¥½Ã±â °¨Ã߱Ⱑ ¼³Á¤µÇ¾úÀ¸¸é, ¢¡´Â ALT¸¦ ´©¸¦ ¶§±îÁö ¹ØÁÙÀÌ Ç¥½ÃµÇÁö ¾Ê´Â´Ù. accelerator ¼Ó¼º°ªÀÌ falseÀ̸é Ç×»ó ¹ØÁÙÀÌ Ç¥½ÃµÈ´Ù.
<SCRIPT> function ChangeVal(){ if (uObj.style.accelerator=='true') uObj.style.accelerator='false'; else uObj.style.accelerator='true'; showA.innerHTML='uObj.style.accelerator='+uObj.style.accelerator; } </SCRIPT> <LABEL for="oName"><U id="uObj" style="accelerator:true;color:red">¢¡</U> ¼º¸í: </LABEL> <INPUT type="text" id="oName" size="25" accesskey="n" value="È«±æµ¿"><BR> <BUTTON onclick="ChangeVal()">accelerator º¯°æ</BUTTON> <DIV id=showA>°á°ú Ç¥½Ãâ</DIV>