<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<SCRIPT type="text/javascript">
<!--
old_debate='1';
function showLayer_tap(objid){
document.getElementById("debate_content"+old_debate).style.display="none";
document.getElementById("debate_content"+objid).style.display="";
old_debate=objid;
}
//-->
</SCRIPT>
<table width="550" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="5" onMouseOver="javascript:showLayer_tap(0);"> </td>
</tr>
<tr>
<td onMouseOver="javascript:showLayer_tap(0);" width="50"> </td>
<td onMouseOver="javascript:showLayer_tap(1);">1번대메뉴</td>
<td onMouseOver="javascript:showLayer_tap(2);">2번대메뉴</td>
<td onMouseOver="javascript:showLayer_tap(3);">3번대메뉴</td>
<td onMouseOver="javascript:showLayer_tap(0);" width="50"> </td>
</tr>
<tr>
<td colspan="5" onMouseOver="javascript:showLayer_tap(0);" height="30"> </td>
</tr>
</table>
<DIV id=debate_content0 style="DISPLAY: none;"></div>
<DIV id=debate_content1 style="DISPLAY: none;" style="position:absolute; top: 50px; width: 320px;height: 40px; margin-left: 10px; z-index:3;"><a href="주소">부메뉴1-1</a> / <a href="주소">부메뉴1-2</a> </div>
<DIV id=debate_content2 style="DISPLAY: none;" style="position:absolute; top: 50px; width: 320px;height: 40px; margin-left: 150px; z-index:3;"><a href="주소">부메뉴2-1</a> / <a href="주소">부메뉴2-2</a> </div>
<DIV id=debate_content3 style="DISPLAY: none;" style="position:absolute; top: 50px; width: 320px;height: 40px; margin-left: 280px; z-index:3;"><a href="주소">부메뉴3-1</a> / <a href="주소">부메뉴3-2</a> </div>
<!-- javascript:showLayer_tap(0); ==> debate_content0 으로 이동해서 빈공간으로 나오게 만듬 -->
<!--top: 85px; width: 320px;height: 40px; margin-left: 280px; z-index:3;
높이;div폭;div 높이;앞이랑 공간;
-->
</body>
</html>
어디에서 본 소스인데 한번 비슷므리하게 만들어봐써요 ^^ 혹시 필요한분들을 위해서.....
kbench 에
<html>
<head>
<title>temp37</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<SCRIPT language=JavaScript type=text/JavaScript>
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
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 && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//상단문자 배너 스크롤
//-->
// ------------------ 개인화메뉴 시작 ------------------
var NS4;
var IE4;
var mouse_top;
var mouse_left;
var parent_menu_name = "class_userinfo";
var status_over = false;
var event_id = "none";
var column_height = 18;
var mainmenu_top_indent = 0;
var menuover_bgcolor = "#C9CDD1";
var menuover_fgcolor = "#ffffff";
var default_menuover_bgcolor = "#ffffff";
var default_menuover_fgcolor = "#000000";
NS4 = (document.layers);
IE4 = (document.all);
isWin = (navigator.appVersion.indexOf("Win") != -1)
if (NS4) {
document.captureEvents(Event.CLICK)
document.onclick = MouseDown;
}else if (IE4) {
document.onclick = MouseDown;
}
function MouseDown(e) {
event_target = event.srcElement;
event_target = event_target.toString();
event_check = event_target.indexOf("javascript:UserMenuView(");
if (!status_over) hideAll();
if (!event_check) {
viewMenu(event, parent_menu_name);
}else {
hideAll();
}
}
function hideAll() {
eval(parent_menu_name + ".style.display = \"none\"");
if (event_id == "none") { return; }
}
function viewMenu (e, ar_id) {
if (ar_id == "none") return;
menuLocBod = window.document.body;
xPos = menuLocBod.scrollLeft + event.clientX;
yPos = event.clientY + menuLocBod.scrollTop;
screen_height = window.document.body.offsetHeight;
screen_width = window.document.body.offsetWidth;
mouse_top = e.y;
mouse_left = e.x;
eval("mainmenu_top_indent = " + parent_menu_name + ".children[0].children[0].children.length");
mainmenu_top_indent = mainmenu_top_indent * column_height;
if (screen_height > mouse_top + mainmenu_top_indent)
yPos = event.clientY + menuLocBod.scrollTop;
else
yPos = (event.clientY + menuLocBod.scrollTop) - mainmenu_top_indent;
if (mouse_top - mainmenu_top_indent < 0)
yPos = event.clientY + menuLocBod.scrollTop;
eval(ar_id + ".style.pixelTop =" + yPos);
eval(ar_id + ".style.pixelLeft =" + xPos);
eval(ar_id + ".style.display = \"\"");
}
function onMouseOver(ar_obj, ar_id) {
status_over = true;
changeColor(ar_obj);
}
function onMouseOut(ar_obj) {
status_over = false;
changeColor(ar_obj);
}
// ------------------ 개인화메뉴 끝 ------------------
/*롤오버*/
function Roll(num,tog){eval("document.m"+num+".src=m"+num+"_"+tog+".src");}
function pre_image_tig() {
for(a=1;a<=8;a++){
eval('m'+a+'_on = new Image()');
eval('m'+a+'_off = new Image()');
eval('m'+a+'_on.src = \"http://images.kbench.com/n_img/newmenu/menu'+a+'_on.gif\"');
eval('m'+a+'_off.src = \"http://images.kbench.com/n_img/newmenu/menu'+a+'_off.gif\"');
}
}
function Show() { //v3.0
var i,p,v,obj,args=Show.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; }
}
function ChangeLayer(id)
{
if (document.getElementById(id).style.display == "")
document.getElementById(id).style.display = "none";
else
document.getElementById(id).style.display = "";
}
function ChangeLayerValue(id, value)
{
document.getElementById(id).style.display = value;
}
pre_image_tig();
</SCRIPT>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TR><TD><A onmouseover="Roll('1','on');Show('sub1','','show')" onfocus=this.blur() onmouseout="Roll('1','off');Show('sub1','','hide')" href="#">
<IMG height=37 src="http://images.kbench.com/n_img/newmenu/menu1_off.gif" width=79 border=0 name=m1></A></TD>
<TD><IMG height=37 src="http://images.kbench.com/n_img/newmenu/frame_2.gif" width=7 border=0></TD>
<TD><A onmouseover="Roll('2','on');Show('sub2','','show')" onfocus=this.blur() onmouseout="Roll('2','off');Show('sub2','','hide')" HREF="#">
<IMG height=37 src="http://images.kbench.com/n_img/newmenu/menu2_off.gif" width=73 border=0 name=m2></A></TD>
</TR></TBODY></TABLE>
<DIV id=sub1 onmouseover="Roll('1','on');Show('sub1','','show')" style="Z-INDEX: 200; VISIBILITY: hidden; POSITION: absolute" onmouseout="Roll('1','off');Show('sub1','','hide');">
<P style="MARGIN-LEFT: 10px">
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TR vAlign=top>
<TD>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TR>
<TD><IMG height=33 src="http://images.kbench.com/n_img/newmenu/sub_conor_1.gif" width=14></TD>
<TD style="BACKGROUND-POSITION: 0% 0%; BACKGROUND-IMAGE: url(http://images.kbench.com/n_img/newmenu/sub_back.gif); BACKGROUND-REPEAT: repeat-x">
<P class=sub_menu> <A href="http://www.kbench.com/hardware/?cc=1">전체</A> l <A href="http://www.kbench.com/hardware/?cc=5">CPU</A>
</P></TD>
<TD><IMG height=33 src="http://images.kbench.com/n_img/newmenu/sub_conor_2.gif" width=14></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></P>
</DIV>
<DIV id=sub2 onmouseover="Roll('2','on');Show('sub2','','show')" style="Z-INDEX: 200; VISIBILITY: hidden; POSITION: absolute" onmouseout="Roll('2','off');Show('sub2','','hide');">
<P style="MARGIN-LEFT: 50px">
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR vAlign=top>
<TD>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD><IMG height=33
src="http://images.kbench.com/n_img/newmenu/sub_conor_1.gif"
width=14></TD>
<TD
style="BACKGROUND-POSITION: 0% 0%; BACKGROUND-IMAGE: url(http://images.kbench.com/n_img/newmenu/sub_back.gif); BACKGROUND-REPEAT: repeat-x">
<P class=sub_menu> <A
href="http://www.kbench.com/digital/?cc=1">전체</A>
</P></TD>
<TD><IMG height=33
src="http://images.kbench.com/n_img/newmenu/sub_conor_2.gif"
width=14></TD></TR>
</TABLE></TD></TR>
</TABLE></P>
</DIV>
<DIV id=sub3
onmouseover="Roll('3','on');Show('sub3','','show')"
style="Z-INDEX: 200; VISIBILITY: hidden; POSITION: absolute"
onmouseout="Roll('3','off');Show('sub3','','hide');">333</DIV>
<DIV id=sub4
onmouseover="Roll('4','on');Show('sub4','','show')"
style="Z-INDEX: 200; VISIBILITY: hidden; POSITION: absolute"
onmouseout="Roll('4','off');Show('sub4','','hide')">444
<P style="MARGIN-LEFT: 200px"></DIV>
<!-- End Save for Web Slices -->
</body>
</html>
이런식으로 하네요 ;;;;
댓글 1개
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7630 | 10년 전 | 676 | ||
| 7629 |
|
10년 전 | 2437 | |
| 7628 | 10년 전 | 814 | ||
| 7627 |
|
10년 전 | 1052 | |
| 7626 |
|
10년 전 | 1806 | |
| 7625 | 10년 전 | 741 | ||
| 7624 | 10년 전 | 750 | ||
| 7623 |
|
10년 전 | 3136 | |
| 7622 | 10년 전 | 752 | ||
| 7621 |
leeleeleelee
|
10년 전 | 607 | |
| 7620 | 10년 전 | 556 | ||
| 7619 | 10년 전 | 523 | ||
| 7618 | 10년 전 | 1060 | ||
| 7617 | 10년 전 | 740 | ||
| 7616 | 10년 전 | 680 | ||
| 7615 | 10년 전 | 741 | ||
| 7614 | 10년 전 | 1284 | ||
| 7613 |
|
10년 전 | 2100 | |
| 7612 | 10년 전 | 1184 | ||
| 7611 | 10년 전 | 1447 | ||
| 7610 |
|
10년 전 | 1925 | |
| 7609 |
|
10년 전 | 1379 | |
| 7608 |
mwdkim
|
10년 전 | 1154 | |
| 7607 |
|
10년 전 | 1083 | |
| 7606 |
mwdkim
|
10년 전 | 3958 | |
| 7605 | 10년 전 | 708 | ||
| 7604 | 10년 전 | 1045 | ||
| 7603 | 10년 전 | 1664 | ||
| 7602 |
|
10년 전 | 1097 | |
| 7601 |
AniNest
|
10년 전 | 2812 | |
| 7600 |
port443
|
10년 전 | 1056 | |
| 7599 | 10년 전 | 962 | ||
| 7598 | 10년 전 | 1042 | ||
| 7597 | 10년 전 | 4590 | ||
| 7596 |
SeungYeon
|
10년 전 | 912 | |
| 7595 |
untitled
|
10년 전 | 2459 | |
| 7594 |
프로그래머7
|
10년 전 | 1749 | |
| 7593 |
untitled
|
10년 전 | 2393 | |
| 7592 |
untitled
|
10년 전 | 1957 | |
| 7591 |
untitled
|
10년 전 | 2694 | |
| 7590 |
아리마2001
|
10년 전 | 872 | |
| 7589 | 10년 전 | 1125 | ||
| 7588 |
|
10년 전 | 2940 | |
| 7587 | 10년 전 | 1321 | ||
| 7586 | 10년 전 | 687 | ||
| 7585 | 10년 전 | 1724 | ||
| 7584 | 10년 전 | 1424 | ||
| 7583 |
leeleeleelee
|
10년 전 | 1193 | |
| 7582 |
|
10년 전 | 1151 | |
| 7581 | 10년 전 | 1382 | ||
| 7580 | 10년 전 | 1033 | ||
| 7579 |
|
10년 전 | 624 | |
| 7578 | 10년 전 | 1444 | ||
| 7577 |
|
10년 전 | 1890 | |
| 7576 | 10년 전 | 1402 | ||
| 7575 |
멋진남자임
|
10년 전 | 1483 | |
| 7574 | 10년 전 | 2147 | ||
| 7573 | 10년 전 | 3283 | ||
| 7572 | 10년 전 | 781 | ||
| 7571 |
|
10년 전 | 798 | |
| 7570 |
|
10년 전 | 1342 | |
| 7569 | 10년 전 | 1568 | ||
| 7568 |
this1mg
|
10년 전 | 1065 | |
| 7567 |
|
10년 전 | 785 | |
| 7566 | 10년 전 | 930 | ||
| 7565 |
Angel하늘
|
10년 전 | 1035 | |
| 7564 |
seoldi
|
10년 전 | 1279 | |
| 7563 |
|
10년 전 | 1418 | |
| 7562 |
멋진남자임
|
10년 전 | 2118 | |
| 7561 | 10년 전 | 739 | ||
| 7560 |
leeleeleelee
|
10년 전 | 934 | |
| 7559 | 10년 전 | 5072 | ||
| 7558 |
RinaP
|
10년 전 | 812 | |
| 7557 |
|
10년 전 | 1272 | |
| 7556 | 10년 전 | 1214 | ||
| 7555 |
hyohyojj1234
|
10년 전 | 1681 | |
| 7554 | 10년 전 | 1110 | ||
| 7553 |
senseme
|
10년 전 | 1360 | |
| 7552 |
ehdltdoit
|
10년 전 | 1457 | |
| 7551 |
|
10년 전 | 1846 | |
| 7550 |
leeleeleelee
|
10년 전 | 1617 | |
| 7549 | 10년 전 | 2448 | ||
| 7548 | 10년 전 | 1856 | ||
| 7547 |
멋진남자임
|
10년 전 | 1980 | |
| 7546 | 10년 전 | 1023 | ||
| 7545 |
ILMare1003
|
10년 전 | 1315 | |
| 7544 |
|
10년 전 | 1270 | |
| 7543 | 10년 전 | 903 | ||
| 7542 | 10년 전 | 682 | ||
| 7541 |
울라라라우
|
10년 전 | 885 | |
| 7540 | 10년 전 | 1609 | ||
| 7539 | 10년 전 | 958 | ||
| 7538 |
|
10년 전 | 1848 | |
| 7537 | 10년 전 | 3634 | ||
| 7536 |
Gaumi
|
10년 전 | 1443 | |
| 7535 |
프로그램은어려워
|
10년 전 | 1299 | |
| 7534 |
senseme
|
10년 전 | 1220 | |
| 7533 | 10년 전 | 1223 | ||
| 7532 | 10년 전 | 890 | ||
| 7531 | 10년 전 | 2081 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기