¿ÜºÎ¿¡¼ ÀÚ¹Ù½ºÅ©¸³Æ®¸¦ ÀÌ¿ëÇÏ¿© Ç÷¡½¬ÀÇ ¸µÅ©¸¦ ÄÁµå·Ñ ÇÒ ¼ö ÀÖ½À´Ï´Ù.
HTML¿¡ »ðÀԵǴ ÀÚ¹Ù ½ºÅ©¸³Æ®
<script language="javascript">
function mainmenu(menuName){
if(menuName=="m1"){ //Ç÷¡½¬¿¡¼ ÀÔ·ÂµÈ º¯¼ö°ª
location.href="http://www.happycgi.com"; //À̵¿ÇÒ ÆäÀÌÁö ÁÖ¼Ò
}else if(menuName=="m2"){ //Ç÷¡½¬¿¡¼ ÀÔ·ÂµÈ º¯¼ö°ª
location.href="http://www.happycgi.com"; //À̵¿ÇÒ ÆäÀÌÁö ÁÖ¼Ò
}else if(menuName=="m3"){ //Ç÷¡½¬¿¡¼ ÀÔ·ÂµÈ º¯¼ö°ª
location.href="http://www.happycgi.com"; //À̵¿ÇÒ ÆäÀÌÁö ÁÖ¼Ò
}else if(menuName=="m4"){ //Ç÷¡½¬¿¡¼ ÀÔ·ÂµÈ º¯¼ö°ª
location.href="http://www.happycgi.com"; //À̵¿ÇÒ ÆäÀÌÁö ÁÖ¼Ò
}else{
alert('ÆäÀÌÁö ÁغñÁß ÀÔ´Ï´Ù..'); //Çش纯¼ö°¡ ¾øÀ»½Ã ¸Þ½ÃÁöÃâ·Â
}
}
</SCRIPT>
Ç÷¡½¬ ¹öÆ°¿¡ µî·ÏµÇ´Â ¾×¼Ç½ºÅ©¸³Æ®
on (release) {
getURL("javascript:mainmenu('m1')");
}
º¸¶ó»öÀ¸·Î µÈºÎºÐÀº Ç÷¡½¬¿Í HTML¿¡ »ðÀԵǴ ÀÚ¹Ù½ºÅ©¸³Æ®¿Í °°¾Æ¾ß ÇÕ´Ï´Ù.
³ë¶õ»öÀ¸·Î Ä¥ÇØÁøºÎºÐÀº Ç÷¡½¬ÀÇ ¹öÆ°À̸§°ú HTML¿¡¼ÀÇ ¸µÅ©À̸§ÀÔ´Ï´Ù.
1¹ø ¸Å´º¿¡´Â m1(¿¹) 2¹øÀº m2(¿¹) µîÀ¸·Î ±¸ºÐÀ» ÇÏ¿© ÇØ´ç¸Å´ººÎºÐ¿¡ ÀÌ ¸µÅ©·Î Á¢¼ÓÇ϶ó°í ÁöÁ¤ÇØÁÝ´Ï´Ù.
|