<html>
<head>
<title>토글메뉴 만들기</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=euc-kr”>
<style type=”text/css”>
<!–
#menu1 {display:none; margin-left:10px}
#menu2 {display:none; margin-left:10px}
#menu3 {display:none; margin-left:10px}
a {font-size: 9pt; color: #000000; text-decoration: none}
//–>
</style>
<script language=”Javascript”>
<!–
function toggleMenu(currMenu){
if (document.all){
thisMenu = eval(‘document.all.’ + currMenu + ‘.style’)
if (thisMenu.display == ‘block’) {
document.all.menu1.style.display = ‘none’
document.all.menu2.style.display = ‘none’
document.all.menu3.style.display = ‘none’
thisMenu.display = ‘none’
}
else {document.all.menu1.style.display = ‘none’
document.all.menu2.style.display = ‘none’
document.all.menu3.style.display = ‘none’
thisMenu.display = ‘block’
}
return false
}else{
return true
}
}
//–>
</script>
</head>
<body bgcolor=”#FFFFFF” text=”#000000″>
<table width=”200″ border=”0″ cellspacing=”1″ cellpadding=”0″ bgcolor=”#EEEEEE”>
<tr>
<td height=”16″><a href=”#” onClick=”return toggleMenu(‘menu1′)”>홈페이지강좌</a></td>
</tr>
</table>
<span id=’menu1’>
<table width=”200″ border=”0″ cellspacing=”1″ cellpadding=”0″>
<tr>
<td><a href=”#”>▷ DDALCHI 드림위버4</a></td>
</tr>
<tr>
<td><a href=”#”>▷ 딸치세상</a></td>
</tr>
</table>
</span>
<table width=”200″ border=”0″ cellspacing=”1″ cellpadding=”0″ bgcolor=”#EEEEEE”>
<tr>
<td height=”16″><a href=”#” onClick=”return toggleMenu(‘menu2′)”>작품세계</a></td>
</tr>
</table>
<span id=’menu2’>
<table width=”200″ border=”0″ cellspacing=”1″ cellpadding=”0″>
<tr>
<td><a href=”#”>▷ 2D 작업내용</a></td>
</tr>
<tr>
<td><a href=”#”>▷ WEB 작업내용</a></td>
</tr>
</table>
</span>
<table width=”200″ border=”0″ cellspacing=”1″ cellpadding=”0″ bgcolor=”#EEEEEE”>
<tr>
<td height=”16″><a href=”#” onClick=”return toggleMenu(‘menu3′)”>게시판</a></td>
</tr>
</table>
<span id=’menu3’>
<table width=”200″ border=”0″ cellspacing=”1″ cellpadding=”0″>
<tr>
<td><a href=”#”>▷ 질문&답변</a></td>
</tr>
<tr>
<td><a href=”#”>▷ 자유게시판</a></td>
</tr>
</table>
</span>
</body>
</html>