엠

마우스오버시나타나는레이어

· 2006-12-15 (금) 12:20:24 · 2973
<html>
<head>
</head>
<body>

<!-- 메뉴 테이블-->
<div align="right">
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td width="117"><img src=./sub_top_menu02.gif width=115 height=37 style='cursor:hand;' onclick=setMenu(1); onMouseOver=setMenu(1); onMouseout=setMenu(0);></td>
</tr>
</table>
</div>
<!-- 메뉴 테이블-->


<!-- global menu layer start-->
<p><div id="gml" onmouseover=setMenu(1) onmouseout=setMenu(0); style="width:113px; height:174px; position:absolute; left:50px; top:110px; z-index:1; visibility:hidden; left:expression(((document.body.clientWidth-900)/2)+611); filter: alpha(opacity=100);">
<table width=113 border=0 cellspacing=0 cellpadding=0>
<tr><td rowspan="8" width=3 bgcolor=D6D6D6></td>
<td width=107 height=3 bgcolor=D6D6D6></td>
<td width=3 rowspan="8" bgcolor=D6D6D6></td>
</tr>
<tr><td bgcolor=#FFFFFF height=2></td></tr>
<tr><td bgcolor=#FFFFFF style='padding:2 0 2 7;cursor:hand' onMouseOver=this.style.background='#' OnMouseOut=this.style.background='#ffffff' onClick=top.location.href='./';>메뉴1</td></tr>
<tr><td bgcolor=#FFFFFF style='padding:2 0 2 7;cursor:hand' onMouseOver=this.style.background='#' OnMouseOut=this.style.background='#ffffff' onClick=top.location.href='./';>메뉴2</td></tr>
<tr><td bgcolor=#FFFFFF style='padding:2 0 2 7;cursor:hand' onMouseOver=this.style.background='#' OnMouseOut=this.style.background='#ffffff' onClick=window.open('./');>메뉴3</td></tr>
<tr><td bgcolor=#FFFFFF style='padding:2 0 2 7;cursor:hand' onMouseOver=this.style.background='#' OnMouseOut=this.style.background='#ffffff' onClick=window.open('./');>메뉴4</td></tr>
<tr><td bgcolor=#FFFFFF style='padding:2 0 2 7;cursor:hand' onMouseOver=this.style.background='#' OnMouseOut=this.style.background='#ffffff' onClick=top.location.href='./';>메뉴5</td></tr>
<tr><td width=107 height=3 bgcolor=D6D6D6></td></tr>
</table>
</div>
<script language=javascript>
<!--//
function setMenu(stat){
if (stat == 1){
var len = ((document.body.clientWidth-900)/2)+613
if(len < 613 ){
len = 613
}
document.all.gml.style.zIndex = 1;
document.all.gml.style.position = 'absolute';
document.all.gml.style.left = len;
document.all.gml.style.visibility = 'visible';
} else if (stat == 0) {
document.all.gml.style.visibility = 'hidden';
}
}
//-->
</script>

</body>
</html><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다.

팁게시판

6,077건

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
06-12-15 조회 1,850
06-12-15 조회 1,581
06-12-15 조회 1,590
06-12-15 조회 1,521
06-12-15 조회 3,280
06-12-15 조회 2,974
06-12-15 조회 1,725
06-12-15 조회 3,443
06-12-15 조회 1,901
06-12-15 조회 1,541
06-12-15 조회 2,016
06-12-15 조회 2,149
06-12-15 조회 1,679
06-12-15 조회 2,385
06-12-15 조회 2,038
06-12-15 조회 1,651
06-12-15 조회 1,832
06-12-15 조회 2,080
06-12-15 조회 1,838
06-12-13 조회 1,640
06-12-13 조회 1,707
06-12-13 조회 3,175
06-12-12 조회 2,036
06-12-12 조회 1,913
06-12-12 조회 4,386