황당한 오류... > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

황당한 오류... 정보

황당한 오류...

본문

<script>
function DisplayMenu(index) {
for (i=1; i<=3; i++)
if (index == i) {
thisMenu = eval("menu" + index + ".style");
thisMenu.display = "";
}
else {
otherMenu = eval("menu" + i + ".style");
otherMenu.display = "none";
}
}
</script>

<div id="menu1" style="display:;">
<table cellpadding='0' cellspacing='0' border='0'>
<tr>
<td align="center" width="68" height="21" onclick="DisplayMenu(1)" style="cursor:pointer;background-image:url('/images/frame/img_main_content3_frm_smallBox.gif');"><strong>공지사항</strong>
<td width='2' height='21' style="background-image:url('/images/frame/img_main_content3_frm_conn.gif');"></td>
<td align="center" width="68" height="21" onclick="DisplayMenu(2)" style="cursor:pointer;background-image:url('/images/frame/img_main_content3_frm_smallBox.gif');"><strong>여행후기</strong>
<td width='2' height='21' style="background-image:url('/images/frame/img_main_content3_frm_conn.gif');"></td>
<td align="center" width="68" height="21" onclick="DisplayMenu(3)" style="cursor:pointer;background-image:url('/images/frame/img_main_content3_frm_smallBox.gif');"><strong>포토앨범</strong>
<td width='31' height='21' style="background-image:url('/images/frame/img_main_content3_frm_conn.gif');"></td>
</tr>
</table>

<?=latest("notice", "notice", 6, 70);?>

</div>

<div id="menu2" style="display:none;">
<table cellpadding='0' cellspacing='0' border='0'>
<tr>
<td align="center" width="68" height="21" onclick="DisplayMenu(1)" style="cursor:pointer;background-image:url('/images/frame/img_main_content3_frm_smallBox.gif');"><strong>공지사항</strong>
<td width='2' height='21' style="background-image:url('/images/frame/img_main_content3_frm_conn.gif');"></td>
<td align="center" width="68" height="21" onclick="DisplayMenu(2)" style="cursor:pointer;background-image:url('/images/frame/img_main_content3_frm_smallBox.gif');"><strong>여행후기</strong>
<td width='2' height='21' style="background-image:url('/images/frame/img_main_content3_frm_conn.gif');"></td>
<td align="center" width="68" height="21" onclick="DisplayMenu(3)" style="cursor:pointer;background-image:url('/images/frame/img_main_content3_frm_smallBox.gif');"><strong>포토앨범</strong>
<td width='31' height='21' style="background-image:url('/images/frame/img_main_content3_frm_conn.gif');"></td>
</tr>
</table>

<?=latest("notice", "notice", 6, 70);?>
</div>

<div id="menu3" style="display:none;">
<table cellpadding='0' cellspacing='0' border='0'>
<tr>
<td align="center" width="68" height="21" onclick="DisplayMenu(1)" style="cursor:pointer;background-image:url('/images/frame/img_main_content3_frm_smallBox.gif');"><strong>공지사항</strong>
<td width='2' height='21' style="background-image:url('/images/frame/img_main_content3_frm_conn.gif');"></td>
<td align="center" width="68" height="21" onclick="DisplayMenu(2)" style="cursor:pointer;background-image:url('/images/frame/img_main_content3_frm_smallBox.gif');"><strong>여행후기</strong>
<td width='2' height='21' style="background-image:url('/images/frame/img_main_content3_frm_conn.gif');"></td>
<td align="center" width="68" height="21" onclick="DisplayMenu(3)" style="cursor:pointer;background-image:url('/images/frame/img_main_content3_frm_smallBox.gif');"><strong>포토앨범</strong>
<td width='31' height='21' style="background-image:url('/images/frame/img_main_content3_frm_conn.gif');"></td>
</tr>
</table>

<?=latest("notice", "notice", 6, 70);?>
</div>


탭메뉴 소스입니다.

이상하게 그누보드에 적용하면

아랫쪽에 숫자 1이 붙어서 출력이 됩니다...

도와주세요...
숫자1을 없앨수가 없어요..ㅡㅡ; 이유가 뭘까요

댓글 전체

참고로

해당소스를

include 해서 불러 왓을때에만 1이 생성됩니다.

<index.php>에서는

<? include_once(tabMenu.php); ?> 로 인크루드하였습니다.
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT