v080510에서 텝메뉴 수정시.. > 질문답변

본문 바로가기
사이트 내 전체검색

질문답변

서버정보나 계정정보는 보안유지를 위해 관리자쪽지나 메일로 발송해 주시거나 제작의뢰 게시판을 이용해 주시면 감사하겠습니다..

v080510에서 텝메뉴 수정시..

페이지 정보

본문

v080510스킨을 사용해서 홈페이지를 만들고 있습니다.

근데 메인 상단의 텝메뉴의 갯수를 4개에서 5개로 늘렸습니다.

근데 마지막 텝이 닫히지 않네요..

아래 그림 참고해 주시기 바랍니다.

아래는 저의 수정 소스 입니다.

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

//아래 부분 테이블명

$my_table1 = 'z1_2';
$my_table2 = 'z1_3';
$my_table3 = 'z1_4';
$my_table4 = 'z1_5';
$my_table5 = 'z1_6';
?>

<SCRIPT type=text/javascript>
<!--
old_debate='1';

function Comeon(objid){
document.getElementById("debate"+old_debate).style.display="none";
document.getElementById("debate"+old_debate+"#1").style.display="";
document.getElementById("debate"+objid+"#1").style.display="none";
document.getElementById("debate"+objid).style.display="";
document.getElementById("debate_content"+old_debate).style.display="none";
document.getElementById("debate_content"+objid).style.display="";
old_debate=objid;
}


var objid = 1;
var interval_best;

function best_change()
{
 if( objid == 5 )
  objid = 1;
 else
  objid++;

 Comeon(objid);
}


function setInterval_best()
{
 interval_best = setInterval("best_change()",4000);//속도조절
}
function clearInterval_best()
{
 clearInterval(interval_best);
}
setInterval_best();

//-->
</SCRIPT>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign=bottom>
<TABLE cellSpacing=0 cellPadding=0 border=0 bgcolor="#E1E1E1">
<TR>
<TD background="<?=$g4['path']?>/include/auto_menu/img/wbg1.gif" align="center" width="100" height=28 id=debate1 onmouseover=clearInterval_best() onmouseout=setInterval_best()><A href='<?=$g4['bbs_path']?>/board.php?bo_table=<?=$my_table1?>'><b><font color=f26522>민주노총</font></b></TD>
<TD background="<?=$g4['path']?>/include/auto_menu/img/wbg11.gif" align="center" width="100" height=28 id=debate1#1  style="DISPLAY: none;"><span onmouseover="javascript:Comeon('1')"><b>민주노총</b></TD>
<TD background="<?=$g4['path']?>/include/auto_menu/img/wbg1.gif" align="center" width="100" id=debate2 onmouseover=clearInterval_best() onmouseout=setInterval_best() style="DISPLAY: none;"><A href='<?=$g4['bbs_path']?>/board.php?bo_table=<?=$my_table2?>'><b><font color=f26522>금속노조</font></b></TD>
<TD background="<?=$g4['path']?>/include/auto_menu/img/wbg11.gif" align="center" width="100" id=debate2#1 ><span onmouseover="javascript:Comeon('2')" onfocus='this.blur()'><b>금속노조</b></TD>
<TD background="<?=$g4['path']?>/include/auto_menu/img/wbg1.gif" align="center" width="100" id=debate3 onmouseover=clearInterval_best() onmouseout=setInterval_best() style="DISPLAY: none;"><A href='<?=$g4['bbs_path']?>/board.php?bo_table=<?=$my_table3?>'><b><font color=f26522>기아차지부</font></b></TD>
<TD background="<?=$g4['path']?>/include/auto_menu/img/wbg11.gif" align="center" width="100" id=debate3#1><span onmouseover="javascript:Comeon('3')" onfocus='this.blur()'><b>기아차지부</b></TD>
<TD background="<?=$g4['path']?>/include/auto_menu/img/wbg1.gif" align="center" width="100" id=debate4 onmouseover=clearInterval_best() onmouseout=setInterval_best() style="DISPLAY: none;"><A href='<?=$g4['bbs_path']?>/board.php?bo_table=<?=$my_table4?>'><b><font color=f26522>판매지회</font></b></TD>
<TD background="<?=$g4['path']?>/include/auto_menu/img/wbg11.gif" align="center" width="100" id=debate4#1><span onmouseover="javascript:Comeon('4')" onfocus='this.blur()'><b>판매지회</b></TD>
                                <TD background="<?=$g4['path']?>/include/auto_menu/img/wbg2.gif" align="center" width="100" id=debate5 onmouseover=clearInterval_best() onmouseout=setInterval_best() style="DISPLAY: none;"><A href='<?=$g4['bbs_path']?>/board.php?bo_table=<?=$my_table5?>'><b><font color=f26522>부산분회</font></b></TD>
                                <TD background="<?=$g4['path']?>/include/auto_menu/img/wbg22.gif" align="center" width="100" id=debate5#1><span onmouseover="javascript:Comeon('5')" onfocus='this.blur()'><b>부산분회</b></TD>
</TR>
</TABLE>
</td>
</tr>
<tr>
<td colspan=2 align=center>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<colgroup width='1'>
<colgroup>
<colgroup width='1'>
<tr><td bgcolor="#E1E1E1"></td><td height=3></td><td bgcolor="#E1E1E1"></td></tr>
<tr>
<td bgcolor="#E1E1E1"></td>
<td valign='top'>
<DIV id=debate_content1 onmouseover=clearInterval_best() onmouseout=setInterval_best()><?= latest("tab", $my_table1, 5, 42)?></DIV>
<DIV id=debate_content2 onmouseover=clearInterval_best() onmouseout=setInterval_best() style="DISPLAY: none;"><?= latest("tab", $my_table2, 5, 42)?></DIV>
<DIV id=debate_content3 onmouseover=clearInterval_best() onmouseout=setInterval_best() style="DISPLAY: none;"><?= latest("tab", $my_table3, 5, 42)?></DIV>
<DIV id=debate_content4 onmouseover=clearInterval_best() onmouseout=setInterval_best() style="DISPLAY: none;"><?= latest("tab", $my_table4, 5, 42)?></DIV>
<DIV id=debate_content5 onmouseover=clearInterval_best() onmouseout=setInterval_best() style="DISPLAY: none;"><?= latest("tab", $my_table5, 5, 42)?></DIV>
                                </td>
<td bgcolor="#E1E1E1"></td>
</tr>
<tr><td bgcolor="#E1E1E1"></td><td height=1 bgcolor="#E1E1E1"></td><td bgcolor="#E1E1E1"></td></tr>
</table>
</td>
</tr>
</table>

<div style="margin:0 0 5 0;"></div>
추천0

댓글목록

profile_image

제로님의 댓글

제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

이미지를 백그라운드로 사용하고 있기때문에 그렇습니다.
포샵에서 wbg22.gif 파일을 열어 보시면 양쪽1픽셀테이블이 투명인것을 보실수 있습니다.5개로 느리셨으면 가로폭만큼 백이미지도 마추어 주세요.

profile_image

메빅맨님의 댓글

메빅맨쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

감사합니다. 잘 적용했습니다. ^^;

Total 1,641건 15 페이지
  • RSS
질문답변 목록
번호 제목 글쓴이 조회 추천 날짜
1291 새싹샘쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7454 0 02-24
1290 밤24쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7466 0 02-06
1289 davi쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 7470 0 10-28
1288 천둥이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7472 0 01-15
1287 시침뚝쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7472 1 12-22
1286 로보트vv쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 7497 0 04-24
1285 부업타운쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7503 1 06-19
1284 리젤쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7508 0 02-03
1283 토마토마쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7510 0 11-13
1282 fora쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7524 1 02-17
1281 엘루마쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7543 1 02-07
1280 해뱅이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7550 0 01-25
1279 디란도쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7560 0 10-09
1278 푸른마음쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7560 0 05-08
1277 디란도쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7564 0 12-10
1276 이상원쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7565 1 01-25
1275
제나빌더 댓글1
u2쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7574 0 10-30
1274 휴먼쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 7588 0 10-28
1273 진진쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7591 0 12-23
1272 부산나라쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 7592 0 05-19
1271 nm클럽쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7600 0 02-23
1270 davi쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 7600 0 06-24
1269 타조쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7620 0 03-27
1268
newmenu질문 댓글2
프라하쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7625 0 07-10
1267
이 위치에 댓글1
쿠하하쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 7629 0 02-28

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
3,194
어제
3,801
최대
9,645
전체
2,374,510
Copyright (c) 株式会社YHPLUS. All rights reserved.