묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
접힘메뉴 오류에 대해 문의드립니다.
2007.06.10 23:20
접힘메뉴를 만들었는데 뭘 건드렸는지
맨 처음 (영화이야기)를 클릭하면 스크립트 오류가 뜨는데
아무리 찾아봐도 뭐가 잘못된건지 몰라서 이렇게 문의드립니다.
아래는 html체크 안한게 아니라
트리메뉴를 통채로 퍼온것.. 입니다.
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
<html>
<head>
<style>
<!--
td {font-size: 9pt;color: #000000;}
--></style>
</head>
<script language="javascript">
function menu(name){
submenu=eval("submenu_"+name+".style");
imgch = eval("bar_"+name);
if(submenu.display == 'none'){
submenu.display = 'block';
imgch.src="./tree_minus.gif";
}else{
submenu.display = 'none';
imgch.src = "./tree_plus.gif";
}
}
</script>
<body leftmargin="1" topmargin="1" marginwidth="1" marginheight="1" bgcolor="black">
<table border='0' cellpadding='0' cellspacing='0' width='165' valign="top">
<tr>
<td height="20" background="5-1-leftme.gif" valign='middle' onclick="menu(1);" style="CURSOR:hand" style="padding-left : 18px; padding-top: 2px">
<a href="#"><b><font size="2" color="white"><img id='+ '+ 'bar_1' src="tree_plus.gif" border="0"></font></b></a><b><font size="2" color="white">영화이야기</font></b><font color="white"></font></td>
</tr>
<tr>
<td> <table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="lee.htm" target="main">나,</a></font></td>
</tr>
<tr>
<td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><a href="movie.htm" target="main"><font color="white">영화</font><span style="font-size:9pt; color:black;"><font color="white">읽기</font></span></a></td>
</tr>
<tr>
<td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="theater.htm" target="main">영화보기</a></font></td>
</tr>
<tr>
<td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="link1.htm" target="main">옆집구경</a></font></td>
</tr>
<tr>
<td height="20" background="5-1-leftme.gif" onclick="menu(2);" style="CURSOR:hand" style="padding-left : 18px; padding-top: 2px"><b><font size="2" color="white"><img id='bar_2' src="tree_plus.gif">문화이야기</font></b></td>
</tr>
<tr>
<td><span id=submenu_2 style="DISPLAY: none;">
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="baek.htm" target="main">나</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="exhibition.htm" target="main">문화재소개</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="museum.htm" target="main">박물관가기</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="link2.htm" target="main">기웃기웃</a></font></td>
</tr>
</table></span><font color="white"></font></td>
</tr>
<tr>
<td height="20" background="5-1-leftme.gif" onclick="menu(4);" style="CURSOR:hand" style="padding-left : 18px; padding-top: 2px"><font size="2" color="white"><b><img id='bar_4'+ ' src="tree_plus.gif">영어이야기</b></font></td>
</tr>
<tr>
<td><span id=submenu_4 style="DISPLAY: none;">
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px">
<font color="white"><a href="kim.htm" target="main">나</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px">
<font color="white"><a href="break.htm" target="main">미국드라마</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px">
<font color="white"><a href="news.htm" target="main">해외뉴스</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px">
<font color="white"><a href="link3.htm" target="main">이웃탐방</a></font></td>
</tr>
</table></span></td>
</tr>
<!--메뉴끝--></body></html>
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
맨 처음 (영화이야기)를 클릭하면 스크립트 오류가 뜨는데
아무리 찾아봐도 뭐가 잘못된건지 몰라서 이렇게 문의드립니다.
아래는 html체크 안한게 아니라
트리메뉴를 통채로 퍼온것.. 입니다.
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
<html>
<head>
<style>
<!--
td {font-size: 9pt;color: #000000;}
--></style>
</head>
<script language="javascript">
function menu(name){
submenu=eval("submenu_"+name+".style");
imgch = eval("bar_"+name);
if(submenu.display == 'none'){
submenu.display = 'block';
imgch.src="./tree_minus.gif";
}else{
submenu.display = 'none';
imgch.src = "./tree_plus.gif";
}
}
</script>
<body leftmargin="1" topmargin="1" marginwidth="1" marginheight="1" bgcolor="black">
<table border='0' cellpadding='0' cellspacing='0' width='165' valign="top">
<tr>
<td height="20" background="5-1-leftme.gif" valign='middle' onclick="menu(1);" style="CURSOR:hand" style="padding-left : 18px; padding-top: 2px">
<a href="#"><b><font size="2" color="white"><img id='+ '+ 'bar_1' src="tree_plus.gif" border="0"></font></b></a><b><font size="2" color="white">영화이야기</font></b><font color="white"></font></td>
</tr>
<tr>
<td> <table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="lee.htm" target="main">나,</a></font></td>
</tr>
<tr>
<td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><a href="movie.htm" target="main"><font color="white">영화</font><span style="font-size:9pt; color:black;"><font color="white">읽기</font></span></a></td>
</tr>
<tr>
<td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="theater.htm" target="main">영화보기</a></font></td>
</tr>
<tr>
<td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="link1.htm" target="main">옆집구경</a></font></td>
</tr>
<tr>
<td height="20" background="5-1-leftme.gif" onclick="menu(2);" style="CURSOR:hand" style="padding-left : 18px; padding-top: 2px"><b><font size="2" color="white"><img id='bar_2' src="tree_plus.gif">문화이야기</font></b></td>
</tr>
<tr>
<td><span id=submenu_2 style="DISPLAY: none;">
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="baek.htm" target="main">나</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="exhibition.htm" target="main">문화재소개</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="museum.htm" target="main">박물관가기</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="link2.htm" target="main">기웃기웃</a></font></td>
</tr>
</table></span><font color="white"></font></td>
</tr>
<tr>
<td height="20" background="5-1-leftme.gif" onclick="menu(4);" style="CURSOR:hand" style="padding-left : 18px; padding-top: 2px"><font size="2" color="white"><b><img id='bar_4'+ ' src="tree_plus.gif">영어이야기</b></font></td>
</tr>
<tr>
<td><span id=submenu_4 style="DISPLAY: none;">
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px">
<font color="white"><a href="kim.htm" target="main">나</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px">
<font color="white"><a href="break.htm" target="main">미국드라마</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px">
<font color="white"><a href="news.htm" target="main">해외뉴스</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px">
<font color="white"><a href="link3.htm" target="main">이웃탐방</a></font></td>
</tr>
</table></span></td>
</tr>
<!--메뉴끝--></body></html>
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
댓글 2
-
김승훈
2007.06.12 17:05
-
a
2007.11.23 14:28
이렇게 해보세요
<html>
<head>
<style>
<!--
td {font-size: 9pt;color: #000000;}
--></style>
</head>
<script language="javascript">
function menu(name){
submenu=eval("submenu_"+name+".style");
imgch = eval("bar_"+name);
if(submenu.display == 'none'){
submenu.display = 'block';
imgch.src="./tree_minus.gif";
}else{
submenu.display = 'none';
imgch.src = "./tree_plus.gif";
}
}
</script>
<body leftmargin="1" topmargin="1" marginwidth="1" marginheight="1" bgcolor="black">
<table border='0' cellpadding='0' cellspacing='0' width='165' valign="top">
<tr>
<td height="20" background="5-1-leftme.gif" valign='middle' onclick="menu(1);" style="CURSOR:hand" style="padding-left : 18px; padding-top: 2px">
<b><font size="2" color="white"><img id='bar_1' src="tree_plus.gif" border="0"></font></b></a><b><font size="2" color="white">영화이야기</font></b><font color="white"></font></td>
</tr>
<tr>
<td><span id=submenu_1 style="DISPLAY: none;">
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="lee.htm" target="main">나,</a></font></td>
</tr>
<tr>
<td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><a href="movie.htm" target="main"><font color="white">영화</font><span style="font-size:9pt; color:black;"><font color="white">읽기</font></span></a></td>
</tr>
<tr>
<td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="theater.htm" target="main">영화보기</a></font></td>
</tr>
<tr>
<td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="link1.htm" target="main">옆집구경</a></font></td>
</tr>
</table></span></td>
</tr>
<tr>
<td height="20" background="5-1-leftme.gif" onclick="menu(2);" style="CURSOR:hand" style="padding-left : 18px; padding-top: 2px"><b><font size="2" color="white"><img id='bar_2' src="tree_plus.gif">문화이야기</font></b></td>
</tr>
<tr>
<td><span id=submenu_2 style="DISPLAY: none;">
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="baek.htm" target="main">나</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="exhibition.htm" target="main">문화재소개</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="museum.htm" target="main">박물관가기</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px"><font color="white"><a href="link2.htm" target="main">기웃기웃</a></font></td>
</tr>
</table></span><font color="white"></font></td>
</tr>
<tr>
<td height="20" background="5-1-leftme.gif" onclick="menu(4);" style="CURSOR:hand" style="padding-left : 18px; padding-top: 2px"><font size="2" color="white"><b><img id='bar_4'+ '+ ' src="tree_plus.gif">영어이야기</b></font></td>
</tr>
<tr>
<td><span id=submenu_4 style="DISPLAY: none;">
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px">
<font color="white"><a href="kim.htm" target="main">나</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px">
<font color="white"><a href="break.htm" target="main">미국드라마</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px">
<font color="white"><a href="news.htm" target="main">해외뉴스</a></font></td>
</tr>
<tr><td height="20" background="5-1-leftme_sub.gif" style="padding-left : 31px; padding-top: 2px">
<font color="white"><a href="link3.htm" target="main">이웃탐방</a></font></td>
</tr>
</table></span></td>
</tr>
<!--메뉴끝--></body></html>