묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
그림이 깨져요..
2003.04.13 22:15
주 메뉴와 부메뉴들이 있는데요..
주 메뉴를 클릭하면 부메뉴들이 나오는 형식이죠..
그런데 주 메뉴 클릭하면 텍스트와 같이 있던 그림이 갑자기 깨져요..
이유가??
밑에 소스 올렸습니다..
<script language="javascript">
var old_menu = '';
var old_cell = '';
function menuclick( submenu ,cellbar)
{
if( old_menu != submenu ) {
if( old_menu !='' ) {
old_menu.style.display = 'none';
old_cell.src= 'plus.gif';
}
submenu.style.display = 'block';
cellbar.src = 'act.gif';
old_menu = submenu;
old_cell = cellbar;
} else {
submenu.style.display = 'none';
cellbar.src= 'plus.gif';
old_menu = '';
old_cell = '';
}
}
</script>
<table border="0" cellpadding="0" cellspacing="0" bordercolor=#fafafa width="160">
<br>
<tr><td></td></tr>
<tr>
<td align="left" onclick="menuclick(submenu1, bar1 );" style="cursor:hand;" bgcolor=#fafafa width=160 height=23 onmouseover=this.style.backgroundColor='#fafafa' onmouseout=this.style.backgroundColor='' >
<img src="http://truezon2.cafe24.com/zeroboard/kj/BUL.jpg" width="11" height="11" border="0" id="bar1"> 지역 공감</td></tr><tr>
<td align="left" width="160" >
<span id="submenu1" style="margin-left:5; display:none;"><img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">서울 + 경기 + 인천</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">경상 남도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">경상 북도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">충청 남도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">충청 북도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">전라 남도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">전라 북도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">강원도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">제주도</a><br>
</span></td></tr>
<tr>
<td height=1 bgcolor=#E1E1E1 width="160"></td>
</tr>
<tr>
<td height=1 bgcolor=#FFFFFF width="160"></td>
</tr>
<tr>
<td height=4 width="160"></td>
</tr>
<tr>
<td align="left" bgcolor=#fafafa width=160 height=23 bordercolordark=white bordercolorlight=gray onmouseover=this.style.backgroundColor='fafafa' onmouseout=this.style.backgroundColor='' style="cursor:hand;" >
<img src="http://truezon2.cafe24.com/zeroboard/kj/BUL.jpg" width="11" height="11" border="0"><a href="#" target="main"> 지역 정모 &번개</a></td></tr><tr><td></td></tr>
<tr>
<td height=1 bgcolor=#E1E1E1 width="160"></td>
</tr>
<tr>
<td height=1 bgcolor=#FFFFFF width="160"></td>
</tr>
<tr>
<td height=4 width="160"></td>
</tr>
<tr>
<td align="left" onclick="menuclick(submenu2, bar2 );" style="cursor:hand;" bgcolor=#fafafa width=160 height=23 bordercolordark=white bordercolorlight=gray onmouseover=this.style.backgroundColor='#fafafa' onmouseout=this.style.backgroundColor=''>
<img src="http://truezon2.cafe24.com/zeroboard/kj/BUL.jpg" width="11" height="11" border="0" id="bar2"> 세대 공감</td></tr><tr>
<td align="left" width="160" >
<span id="submenu2" style="margin-left:5; display:none;"><img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">10대 공감</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">20대 공감</a><br>
</span></td></tr>
<tr>
<td height=1 bgcolor=#E1E1E1 width="160"></td>
</tr>
<tr>
<td height=1 bgcolor=#FFFFFF width="160"></td>
</tr>
<tr>
<td height=4 width="160"></td>
</tr>
<tr>
<td align="left" bgcolor=#fafafa width=160 height=23 bordercolordark=white bordercolorlight=gray onmouseover=this.style.backgroundColor='#fafafa' onmouseout=this.style.backgroundColor='' style="cursor:hand;" >
<img src="http://truezon2.cafe24.com/zeroboard/kj/BUL.jpg" width="11" height="11" border="0"><a href="#" target="main"> 세대 정모 &번개</a></td></tr><tr><td></td></tr></table>
<tr>
<td height=1 bgcolor=#E1E1E1 width="160"></td>
</tr>
<tr>
<td height=1 bgcolor=#FFFFFF width="160"></td>
</tr>
<tr>
<td height=4 width="160"></td>
</tr>
주 메뉴를 클릭하면 부메뉴들이 나오는 형식이죠..
그런데 주 메뉴 클릭하면 텍스트와 같이 있던 그림이 갑자기 깨져요..
이유가??
밑에 소스 올렸습니다..
<script language="javascript">
var old_menu = '';
var old_cell = '';
function menuclick( submenu ,cellbar)
{
if( old_menu != submenu ) {
if( old_menu !='' ) {
old_menu.style.display = 'none';
old_cell.src= 'plus.gif';
}
submenu.style.display = 'block';
cellbar.src = 'act.gif';
old_menu = submenu;
old_cell = cellbar;
} else {
submenu.style.display = 'none';
cellbar.src= 'plus.gif';
old_menu = '';
old_cell = '';
}
}
</script>
<table border="0" cellpadding="0" cellspacing="0" bordercolor=#fafafa width="160">
<br>
<tr><td></td></tr>
<tr>
<td align="left" onclick="menuclick(submenu1, bar1 );" style="cursor:hand;" bgcolor=#fafafa width=160 height=23 onmouseover=this.style.backgroundColor='#fafafa' onmouseout=this.style.backgroundColor='' >
<img src="http://truezon2.cafe24.com/zeroboard/kj/BUL.jpg" width="11" height="11" border="0" id="bar1"> 지역 공감</td></tr><tr>
<td align="left" width="160" >
<span id="submenu1" style="margin-left:5; display:none;"><img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">서울 + 경기 + 인천</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">경상 남도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">경상 북도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">충청 남도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">충청 북도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">전라 남도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">전라 북도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">강원도</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">제주도</a><br>
</span></td></tr>
<tr>
<td height=1 bgcolor=#E1E1E1 width="160"></td>
</tr>
<tr>
<td height=1 bgcolor=#FFFFFF width="160"></td>
</tr>
<tr>
<td height=4 width="160"></td>
</tr>
<tr>
<td align="left" bgcolor=#fafafa width=160 height=23 bordercolordark=white bordercolorlight=gray onmouseover=this.style.backgroundColor='fafafa' onmouseout=this.style.backgroundColor='' style="cursor:hand;" >
<img src="http://truezon2.cafe24.com/zeroboard/kj/BUL.jpg" width="11" height="11" border="0"><a href="#" target="main"> 지역 정모 &번개</a></td></tr><tr><td></td></tr>
<tr>
<td height=1 bgcolor=#E1E1E1 width="160"></td>
</tr>
<tr>
<td height=1 bgcolor=#FFFFFF width="160"></td>
</tr>
<tr>
<td height=4 width="160"></td>
</tr>
<tr>
<td align="left" onclick="menuclick(submenu2, bar2 );" style="cursor:hand;" bgcolor=#fafafa width=160 height=23 bordercolordark=white bordercolorlight=gray onmouseover=this.style.backgroundColor='#fafafa' onmouseout=this.style.backgroundColor=''>
<img src="http://truezon2.cafe24.com/zeroboard/kj/BUL.jpg" width="11" height="11" border="0" id="bar2"> 세대 공감</td></tr><tr>
<td align="left" width="160" >
<span id="submenu2" style="margin-left:5; display:none;"><img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">10대 공감</a><br>
<img src=http://truezon2.cafe24.com/zeroboard/latest_skin/rini_fine_n2/images/arrow2.gif align=absmiddle>
<a href="#" target="main">20대 공감</a><br>
</span></td></tr>
<tr>
<td height=1 bgcolor=#E1E1E1 width="160"></td>
</tr>
<tr>
<td height=1 bgcolor=#FFFFFF width="160"></td>
</tr>
<tr>
<td height=4 width="160"></td>
</tr>
<tr>
<td align="left" bgcolor=#fafafa width=160 height=23 bordercolordark=white bordercolorlight=gray onmouseover=this.style.backgroundColor='#fafafa' onmouseout=this.style.backgroundColor='' style="cursor:hand;" >
<img src="http://truezon2.cafe24.com/zeroboard/kj/BUL.jpg" width="11" height="11" border="0"><a href="#" target="main"> 세대 정모 &번개</a></td></tr><tr><td></td></tr></table>
<tr>
<td height=1 bgcolor=#E1E1E1 width="160"></td>
</tr>
<tr>
<td height=1 bgcolor=#FFFFFF width="160"></td>
</tr>
<tr>
<td height=4 width="160"></td>
</tr>