우측메뉴만들게 도와주세요 ㅠㅠ 급해요 ㅠㅠ 정보
우측메뉴만들게 도와주세요 ㅠㅠ 급해요 ㅠㅠ관련링크
본문
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/head.sub.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
?>
<style type="text/css">
body {
text-align:center;
}
#mw-index { width:900px; margin:10px auto 0 auto; text-align:left; }
#head { margin:0 0 10px 0; }
#head .logo { }
#head .groups { color:#ddd; font-size:10px; text-align:right; vertical-align:bottom; padding:0 5px 2px 0; }
#head .groups a { color:#555; font-weight:bold; margin:0 2px 0 2px; }
#head .left-link { margin:10px 0 0 10px; }
#head .left-link a { color:#E2F6FF; font-weight:bold; }
#head .right-link { margin:10px 0 0 0; }
#head .right-link a { color:#E2F6FF; font-weight:bold; }
#head .quick-link { float:left; padding:0 5px 0 5px; }
#head .quick-link { font-family:dotum; color:#383D41; font-size:11px; }
#head .quick-div { color:#ddd; font-size:8pt; }
.poll { margin:10px 0 10 0; }
.ca { margin:10px 0 10 0; }
#sm { margin:0 0 0 0; width:178px; }
.menutitle{
cursor:pointer;
margin-bottom: 5px;
background-color:#c1c1c1;
color:#fff;
width:180px;
height:auto;
padding:2px;
text-align:center;
font-weight:bold;
border:1px solid #c1c1c1;
}
.submenu{
margin-bottom: 0.5em;
}
</style>
<script src="navigate.js"></script>
<script src="js/js5-77-selectmenu.js"></script>
<script type="text/javascript">
if (document.getElementById){
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}
function SwitchMenu(obj){
if(document.getElementById){
var el = document.getElementById(obj);
var ar = document.getElementById("maindiv").getElementsByTagName("span");
if(el.style.display != "block"){
for (var i=0; i<ar.length; i++){
if (ar[i].className=="submenu")
ar[i].style.display = "none";
}
el.style.display = "block";
}else{
el.style.display = "none";
}
}
}
</script>
<div id="sl_Div" style="border-style:none;position:absolute;left:0px;top:0px;z-index:1;visibility:hidden;color:eeeeee;"></div>
<div id="mw-index">
<!-- 헤더 시작 -->
<div id="head">
<table id="__01" width="900" height="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2">
<img src="img/TOP_01.gif" alt="" width="900" height="43" border="0" usemap="#Map2"></td>
</tr>
<tr>
<td rowspan="2">
<img src="img/TOP_02.gif" alt="" width="282" height="57" border="0" usemap="#Map3"></td>
<td width="618" height="47" align="right" valign="bottom" alt=""><table width="300" border="0">
<tr>
<th scope="col"><? include_once("$g4[path]/rollover.php"); ?></th>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img src="img/TOP_04.gif" width="618" height="10" alt=""></td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<th scope="col"><img src="img/menu.png" width="901" height="39" border="0" usemap="#Map" /></th>
</tr>
</table>
<!-- 상단 메뉴 끝 -->
</div>
<!-- head -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="180" align="left" valign="top">
<div id="sm"><?=outlogin("zalhe")?><br />
<? include_once("$g4[path]/include/leftmenu/leftmenu.php"); //왼쪽메뉴?>
</div>
<!-- sm -->
<div class="ca"> <iframe src="http://www.gagalive.kr/livechat1.swf?chatroom=~~~enjoyseungu" width="180" height="400" frameborder="0" scrolling="auto"></iframe>
</div>
<div class="poll"><?=visit("visit_counter"); // 방문자수 ?>
</div>
<td>
<td width="10"></td>
<td valign="top">
<map name="Map" id="Map">
<area shape="rect" coords="15,3,156,36" href="<?=$g4[path]?>" />
<area shape="rect" coords="187,12,247,33" href="<?=$g4[path]?>/bbs/board.php?bo_table=B01" />
<area shape="rect" coords="272,14,339,33" href="<?=$g4[path]?>/bbs/board.php?bo_table=B12" />
<area shape="rect" coords="362,12,449,32" href="<?=$g4[path]?>/bbs/board.php?bo_table=free" />
<area shape="rect" coords="468,11,543,34" href="<?=$g4[path]?>/bbs/board.php?bo_table=potoshop" />
<area shape="rect" coords="564,14,623,33" href="<?=$g4[path]?>/bbs/board.php?bo_table=notice" />
<area shape="rect" coords="664,13,773,30" href="<?=$g4[path]?>" />
<area shape="rect" coords="816,4,876,20" href="http://sir.co.kr/lecture/photoshopcs3/" target="_blank" />
<area shape="rect" coords="816,21,877,35" href="http://sir.co.kr/lecture/flashcs3/" target="_blank" />
</map>
<map name="Map2" id="Map2">
<area shape="rect" coords="573,1,671,24" href="#" />
<area shape="rect" coords="685,2,758,25" href="#" />
</map>
<map name="Map3" id="Map3">
<area shape="rect" coords="104,-5,250,47" href="<?=$g4[path]?>" />
</map>
소스는 이건데 우측메뉴를 어떻게 만들지...ㅠ with=120으로 만들어주세요 ㅠㅠ
부탁드려요 ~~
댓글 전체
<tr>
<td width="120" align="left" valign="top">
<div id="sm"><?=outlogin("zalhe")?><br />
이거말인가요? width=120으로 수정했음.

우측메뉴를 만들기 위해선 tail관련파일을 손보셔야 합니다.
<map>불러오기 바로전소스부분입니다.
<td>
<td width="10"></td>
<td valign="top">
이 다음에 게시판소스가 들어가는데
이 이후에
<td width="10"></td>
<td align="right" width="120">
이런 형식으로 들어갑니다.
암튼 결론은..tail.php부분을 수정하셔야 합니다.