완전 초보입니다.
떠도는 아래 소스를 겨우 구했는데
원래 버튼이 1개일때 소스여서 구현하고자 하는 화면에서는 버튼이 총 6개라서요..
1개버튼일때 소스를 복사해서 붙여넣고 세트메뉴 번호만 2로 바꾸었는데 작동을 안해요..ㅠ
2개일땐 소스 어디를 수정해야하는지 알려주시면 너무 감사하겠습니다.
<!-- 메뉴 테이블-->
<div align="center">
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td><img src="/file/img/1-1.jpg" style='cursor:hand;' onclick=setMenu(1); onMouseOver=setMenu(1); onMouseout=setMenu(0);></td>
<td><img src="/file/img/1-2.jpg" style='cursor:hand;' onclick=setMenu(2); onMouseOver=setMenu(2); onMouseout=setMenu(0);></td>
</tr>
</table>
</div>
<!-- 메뉴 테이블-->
<!-- global menu layer start-->
<p><div id="gml" onmouseover=setMenu(1) onmouseout=setMenu(0); style="width:1000px; height:174px; position:absolute; background=#fff;left:50px; top:110px; z-index:1; visibility:hidden; left:expression_(((document.body.clientWidth-900)/2)+611); filter: alpha(opacity=100);">
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr><td rowspan="8" width=3 bgcolor="fff"></td>
<td width=100% height=3 bgcolor="fff"></td>
</tr>
<tr><td bgcolor=#FFFFFF height=3></td></tr>
<tr><td bgcolor=#FFFFFF style='padding:2 0 2 7;cursor:hand' onMouseOver=this.style.background='' OnMouseOut=this.style.background='' onClick=top.location.href='./';><img src="/file/img/0-1.jpg"></td></tr>
<tr><td height=3 bgcolor="fff"></td></tr>
</table>
</div>
<p><div id="gml" onmouseover=setMenu(2) onmouseout=setMenu(0); style="width:1000px; height:174px; position:absolute; background=#fff;left:50px; top:110px; z-index:1; visibility:hidden; left:expression_(((document.body.clientWidth-900)/2)+611); filter: alpha(opacity=100);">
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr><td rowspan="8" width=3 bgcolor="fff"></td>
<td width=100% height=3 bgcolor="fff"></td>
</tr>
<tr><td bgcolor=#FFFFFF height=3></td></tr>
<tr><td bgcolor=#FFFFFF style='padding:2 0 2 7;cursor:hand' onMouseOver=this.style.background='' OnMouseOut=this.style.background='' onClick=top.location.href='./';><img src="/file/img/0-2.jpg"></td></tr>
<tr><td height=3 bgcolor="fff"></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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 17927 | |
| 17926 | |
| 17922 | |
| 17921 | |
| 17915 | |
| 17910 | |
| 17907 | |
| 17892 | |
| 17888 | |
| 17879 | |
| 17878 | |
| 17874 |
JavaScript
글자수 제한 가장 쉬운판.중 하나
|
| 17873 | |
| 17872 |
PHP
포럼 출력소스 [ 샘플본 ]
|
| 17871 |
PHP
게시판별 카테고리 만들기.
|
| 17870 |
PHP
댓글이나 답글은 로직이 같다.
|
| 17869 |
PHP
카테고리 만드는 예제.
|
| 17868 | |
| 17866 |
JavaScript
문구 복사하기 자바스크립트
|
| 17865 | |
| 17864 | |
| 17863 |
PHP
랜덤값 만들기 겹치기는
|
| 17862 | |
| 17859 | |
| 17856 | |
| 17845 |
JavaScript
페이지 로딩 애니메이션
|
| 17835 | |
| 17834 |
PHP
데이타 1개 가져오기
5
|
| 17826 | |
| 17823 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기