일요일, 12월 22
Shadow

#002 토글2

<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>

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.