서브메뉴 땜시 미치고 팔짝 뛰겟슴돠 ㅠㅠ 정보
서브메뉴 땜시 미치고 팔짝 뛰겟슴돠 ㅠㅠ
본문
아시겟지만 몇일전부로 췟;;; 서브메뉴 때문에 미치고 팔짝 뛰겠습니당 ㅠㅠ
글도 써놧고 ㅠㅠ
원리만 조금 알려주시면 ㅠㅠ굽신굽신 ㅠㅠ 큰건 바라지않을게용 ㅠㅠ
글수랑 전부 싹다 뽑았습니다. ㅠㅠ
서브메뉴까지 다구현됬구용 ㅠㅠ
그런데 이걸 오버헀을떄 이 게시판에 있는 분류만 출력
01_2 라는 게시판 오버시 2게시판에 있는 분류만 출력
이거 조건문을 어떻에해야될지 모르겠습니다. ㅠㅠ
<script>
<!--
var muCnt = 30;
function fncShow( pos )
{
var i =0;
for( i; i<muCnt; i++ )
{
var obj = document.getElementById("menu"+i);
if( i == pos )
{
obj.style.display = '';
}
else
{
obj.style.display = 'none';
}
}
}
function fncHide( pos )
{
var obj = document.getElementById("menu"+pos);
obj.style.display = 'none';
}
//-->
</script>
<style>
#menu .table{background-color:#23adb2; height:40px; line-height:39px;}
#menu .table1{border-bottom:1px solid #d4d4d4; height:30px; line-height:29px;}
</style>
<div id=menu>
<div class=table>
<?
$sql = "select * from $g4[board_table] order by bo_table";
$result = sql_query($sql);
$rows = mysql_num_rows($result);
for($i=0; $i < $rows; $i++){
$row=sql_fetch_array($result);
?>
<a onmouseover='javascript:fncShow(<?=$i?>);' href="<?=$g4['path']?>/bbs/board.php?bo_table=<?=$row[bo_table]?>"><font color=#ffffff><?=$row[bo_subject]?></font></a>
<? } ?>
</div>
<div class=table1 align=center><? $sql = " select bo_category_list from $g4[board_table]";
$result = sql_query($sql);
$row=sql_fetch_array($result);
$join = explode("|",$row[bo_category_list]);
if($bo_table == $row[bo_subject]){
for($i=0, $cnt=count($join); $i < $cnt; $i++){
?>
<?=$join[$i]?>
<!--<div id='menu<?=$i?>' style='display:none;' onmouseout='javascript:fncHide(<?=$i?>);'><?=$join[$i]?></div>-->
<? }} ?>
</div>
</div>
글도 써놧고 ㅠㅠ
원리만 조금 알려주시면 ㅠㅠ굽신굽신 ㅠㅠ 큰건 바라지않을게용 ㅠㅠ
글수랑 전부 싹다 뽑았습니다. ㅠㅠ
서브메뉴까지 다구현됬구용 ㅠㅠ
그런데 이걸 오버헀을떄 이 게시판에 있는 분류만 출력
01_2 라는 게시판 오버시 2게시판에 있는 분류만 출력
이거 조건문을 어떻에해야될지 모르겠습니다. ㅠㅠ
<script>
<!--
var muCnt = 30;
function fncShow( pos )
{
var i =0;
for( i; i<muCnt; i++ )
{
var obj = document.getElementById("menu"+i);
if( i == pos )
{
obj.style.display = '';
}
else
{
obj.style.display = 'none';
}
}
}
function fncHide( pos )
{
var obj = document.getElementById("menu"+pos);
obj.style.display = 'none';
}
//-->
</script>
<style>
#menu .table{background-color:#23adb2; height:40px; line-height:39px;}
#menu .table1{border-bottom:1px solid #d4d4d4; height:30px; line-height:29px;}
</style>
<div id=menu>
<div class=table>
<?
$sql = "select * from $g4[board_table] order by bo_table";
$result = sql_query($sql);
$rows = mysql_num_rows($result);
for($i=0; $i < $rows; $i++){
$row=sql_fetch_array($result);
?>
<a onmouseover='javascript:fncShow(<?=$i?>);' href="<?=$g4['path']?>/bbs/board.php?bo_table=<?=$row[bo_table]?>"><font color=#ffffff><?=$row[bo_subject]?></font></a>
<? } ?>
</div>
<div class=table1 align=center><? $sql = " select bo_category_list from $g4[board_table]";
$result = sql_query($sql);
$row=sql_fetch_array($result);
$join = explode("|",$row[bo_category_list]);
if($bo_table == $row[bo_subject]){
for($i=0, $cnt=count($join); $i < $cnt; $i++){
?>
<?=$join[$i]?>
<!--<div id='menu<?=$i?>' style='display:none;' onmouseout='javascript:fncHide(<?=$i?>);'><?=$join[$i]?></div>-->
<? }} ?>
</div>
</div>
댓글 전체
등록된 게시판명이 모두 나오는 메뉴인데...
"01_2 라는 게시판 오버시 2게시판에 있는 분류만 출력"
분류만 출력하고싶다고하셨는데 출력을 어디에 해야합니까?
말풍선에 나타나도록 하고 싶다는 것입니까?
정확한 설명이 있어야합니다.
"01_2 라는 게시판 오버시 2게시판에 있는 분류만 출력"
분류만 출력하고싶다고하셨는데 출력을 어디에 해야합니까?
말풍선에 나타나도록 하고 싶다는 것입니까?
정확한 설명이 있어야합니다.

저는 서브메뉴을 구현하고싶은것입니당 ㅠㅠ
그누보드 빌더 스킨 <<세개 의 게시판 메뉴가 있다고 했을때
그누보드라는 링크에 마우스을 가져다되면 그누보드게시판에 속한 분류가 출력되고
빌더라는 링크에 마우스을 가져다되면 빌더라는게시판에 속한 분류가
출력되는 이런 메뉴을 만드는데 막히네용 ㅠㅠ
그누보드 빌더 스킨 <<세개 의 게시판 메뉴가 있다고 했을때
그누보드라는 링크에 마우스을 가져다되면 그누보드게시판에 속한 분류가 출력되고
빌더라는 링크에 마우스을 가져다되면 빌더라는게시판에 속한 분류가
출력되는 이런 메뉴을 만드는데 막히네용 ㅠㅠ