묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
서브메뉴 제작 문제를 질문합니다 ㅠ.ㅡ
2004.02.04 21:42
http://japge.new21.net/menu4.htm
이건 만든 서브메뉴이구요..
마우스 오버를 하면 아래에 서브메뉴가 나타나지 않네요..;
소스는
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>홈</title>
<meta name="generator" content="Namo WebEditor v6.0">
<script language="JavaScript">
<!--
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<table><tr><td><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','hide','layer5','','hide','layer6','','hide','layer7','','hide'+ '+ ','layer8','','hide')"><img src="images/menu/nao.PNG" width="67" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','show','layer2','','hide','layer3','+ '','+ 'hide','layer4','','hide','layer5','','hide','layer6','+ '','hide','layer7','','hide','layer8','','+ 'hide')" style="cursor:hand"><img src="images/menu/main.PNG" width="57" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','show','layer3','','hide','layer4','','hide','layer5','','hide','layer6','','hide','layer7','','hide','layer8','','hide')" style="cursor:hand"><img src="images/menu/notice.PNG" width="83" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','show','+ 'layer4','','hide','layer5','','hide','layer6','','hide','layer7','','hide','layer8','','hide')" style="cursor:hand"><img src="images/menu/guild.PNG" width="57" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','show','layer5','','hide','layer6','','hide','layer7','','hide'+ ','layer8','','hide')" style="cursor:hand"><img src="images/menu/gameguide.PNG" width="121" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','hide','layer5','','show','layer6','','hide','layer7','','hide','layer8','','hide')" style="cursor:hand"><img src="images/menu/community.PNG" width="108" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','hide','layer5','','+ 'hide','layer6','','show','layer7','+ '','hide','layer8','+ '','hide')" style="cursor:hand"><img src="images/menu/pds.PNG" width="68" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','hide','+ 'layer5','','hide','layer6','','hide','layer7','','show','layer8','','hide')" style="cursor:hand"><img src="images/menu/oekaki.PNG" width="89" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','+ 'hide','layer3','','hide','layer4','','hide','layer5','+ '','hide','layer6','','+ 'hide','layer7','','hide','layer8','','show')" style="cursor:hand"><img src="images/menu/playzone.PNG" width="104" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','hide','layer5','','hide','layer6','','hide','layer7','','hide','layer8','','hide')"><img src="images/menu/white.PNG" width="33" height="20" border="0"></td></tr></table>
<div id="layer1" style="width:281; height:18px; position:absolute; left:69px; top:40px; z-index:1; visibility:hidden;">
클릭하시면 메인으로 이동합니다^ㅡ^
</div>
<div id="layer2" style="width:314; height:18px; position:absolute; left:128px; top:40px; z-index:1; visibility:hidden;">
잡게원정대 공지사항 / 마비노기 공지사항 /
</div>
<div id="layer3" style="width:444; height:19px; position:absolute; left:211px; top:40px; z-index:1; visibility:hidden;">
길드원 게시판 / 길드 가입 게시판 / 이전 길드원 생존 게시판 /
</div>
<div id="layer4" style="width:311; height:19px; position:absolute; left:288px; top:39px; z-index:1; visibility:hidden;">
정보 게시판 / 연구 게시판 / 작곡 게시판 /
</div>
<div id="layer5" style="width:393; height:19px; position:absolute; left:390px; top:40px; z-index:1; visibility:hidden;">
자유 게시판 / 약속 게시판 / 소설 게시판 / 보물 창고 /
</div>
<div id="layer6" style="width:224; height:18px; position:absolute; left:504px; top:40px; z-index:1; visibility:hidden;">
스크린샷 자료실 / 포토 앨범 /
</div>
<div id="layer7" style="width:190; height:19px; position:absolute; left:569px; top:40px; z-index:1; visibility:hidden;">오에카키 게시판으로!^ㅡ^
</div>
<div id="layer8" style="width:232; height:19px; position:absolute; left:557px; top:40px; z-index:1; visibility:hidden;">
플레이존은 준비중입니다!^ㅡ^
</div>
</body>
</html>
입니다.;
이건 만든 서브메뉴이구요..
마우스 오버를 하면 아래에 서브메뉴가 나타나지 않네요..;
소스는
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>홈</title>
<meta name="generator" content="Namo WebEditor v6.0">
<script language="JavaScript">
<!--
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<table><tr><td><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','hide','layer5','','hide','layer6','','hide','layer7','','hide'+ '+ ','layer8','','hide')"><img src="images/menu/nao.PNG" width="67" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','show','layer2','','hide','layer3','+ '','+ 'hide','layer4','','hide','layer5','','hide','layer6','+ '','hide','layer7','','hide','layer8','','+ 'hide')" style="cursor:hand"><img src="images/menu/main.PNG" width="57" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','show','layer3','','hide','layer4','','hide','layer5','','hide','layer6','','hide','layer7','','hide','layer8','','hide')" style="cursor:hand"><img src="images/menu/notice.PNG" width="83" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','show','+ 'layer4','','hide','layer5','','hide','layer6','','hide','layer7','','hide','layer8','','hide')" style="cursor:hand"><img src="images/menu/guild.PNG" width="57" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','show','layer5','','hide','layer6','','hide','layer7','','hide'+ ','layer8','','hide')" style="cursor:hand"><img src="images/menu/gameguide.PNG" width="121" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','hide','layer5','','show','layer6','','hide','layer7','','hide','layer8','','hide')" style="cursor:hand"><img src="images/menu/community.PNG" width="108" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','hide','layer5','','+ 'hide','layer6','','show','layer7','+ '','hide','layer8','+ '','hide')" style="cursor:hand"><img src="images/menu/pds.PNG" width="68" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','hide','+ 'layer5','','hide','layer6','','hide','layer7','','show','layer8','','hide')" style="cursor:hand"><img src="images/menu/oekaki.PNG" width="89" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','+ 'hide','layer3','','hide','layer4','','hide','layer5','+ '','hide','layer6','','+ 'hide','layer7','','hide','layer8','','show')" style="cursor:hand"><img src="images/menu/playzone.PNG" width="104" height="20" border="0"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','hide','layer5','','hide','layer6','','hide','layer7','','hide','layer8','','hide')"><img src="images/menu/white.PNG" width="33" height="20" border="0"></td></tr></table>
<div id="layer1" style="width:281; height:18px; position:absolute; left:69px; top:40px; z-index:1; visibility:hidden;">
클릭하시면 메인으로 이동합니다^ㅡ^
</div>
<div id="layer2" style="width:314; height:18px; position:absolute; left:128px; top:40px; z-index:1; visibility:hidden;">
잡게원정대 공지사항 / 마비노기 공지사항 /
</div>
<div id="layer3" style="width:444; height:19px; position:absolute; left:211px; top:40px; z-index:1; visibility:hidden;">
길드원 게시판 / 길드 가입 게시판 / 이전 길드원 생존 게시판 /
</div>
<div id="layer4" style="width:311; height:19px; position:absolute; left:288px; top:39px; z-index:1; visibility:hidden;">
정보 게시판 / 연구 게시판 / 작곡 게시판 /
</div>
<div id="layer5" style="width:393; height:19px; position:absolute; left:390px; top:40px; z-index:1; visibility:hidden;">
자유 게시판 / 약속 게시판 / 소설 게시판 / 보물 창고 /
</div>
<div id="layer6" style="width:224; height:18px; position:absolute; left:504px; top:40px; z-index:1; visibility:hidden;">
스크린샷 자료실 / 포토 앨범 /
</div>
<div id="layer7" style="width:190; height:19px; position:absolute; left:569px; top:40px; z-index:1; visibility:hidden;">오에카키 게시판으로!^ㅡ^
</div>
<div id="layer8" style="width:232; height:19px; position:absolute; left:557px; top:40px; z-index:1; visibility:hidden;">
플레이존은 준비중입니다!^ㅡ^
</div>
</body>
</html>
입니다.;