까

불여우에서도 되는 메뉴 1

· 2005-02-04 (금) 00:28:55 · 3685 · 1
<SCRIPT language=JavaScript> <!-- 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_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_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_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];} } //--> </SCRIPT> <SCRIPT language=JavaScript> <!-- <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); // --> 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; } } function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </SCRIPT> <br><Br><br> <!--메뉴 --> <table align=center width=320 bgcolor=#ffffff cellpadding=0 cellspacing=1> <tr> <td width=80 height=30><A onmouseover="MM_swapImage('Image1','','../img/menu/menu1_on.gif',1);MM_showHideLayers('Layer1','','show')" onmouseout="MM_swapImgRestore();MM_showHideLayers('Layer1','','hide')" href="http://hyusig.net/g/pds/menu/1.html"><IMG height=30 src="../img/menu/menu1.gif" width=80 border=0 name=Image1></A></TD> <td width=80 height=30><A onmouseover="MM_swapImage('Image2','','../img/menu/menu2_on.gif',1);MM_showHideLayers('Layer2','','show')" onmouseout="MM_swapImgRestore();MM_showHideLayers('Layer2','','hide')" href="http://hyusig.net/g/pds/menu/1.html"><IMG height=30 src="../img/menu/menu2.gif" width=80 border=0 name=Image2></A></TD> <td width=80 height=30><A onmouseover="MM_swapImage('Image3','','../img/menu/menu3_on.gif',1);MM_showHideLayers('Layer3','','show')" onmouseout="MM_swapImgRestore();MM_showHideLayers('Layer3','','hide')" href="http://hyusig.net/g/pds/menu/1.html"><IMG height=30 src="../img/menu/menu3.gif" width=80 border=0 name=Image3></A></TD> <td width=80 height=30><A onmouseover="MM_swapImage('Image4','','../img/menu/menu4_on.gif',1);MM_showHideLayers('Layer4','','show')" onmouseout="MM_swapImgRestore();MM_showHideLayers('Layer4','','hide')" href="http://hyusig.net/g/pds/menu/1.html"><IMG height=30 src="../img/menu/menu4.gif" width=80 border=0 name=Image4></A></TD> </tr> </TABLE>
[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]
|

댓글 1개

자바스크립트로 메뉴 만들기
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
04-12-27 조회 3,877
04-12-04 조회 3,725
04-11-29 조회 3,192
04-11-29 조회 4,036
04-11-29 조회 3,772
04-11-29 조회 6,014
04-11-29 조회 3,386
04-11-29 조회 5,704
04-11-29 조회 3,382
04-11-29 조회 3,985
04-11-29 조회 8,464
04-11-29 조회 4,700
04-11-29 조회 4,085
04-11-29 조회 5,588
04-11-29 조회 7,093
04-11-29 조회 5,345
04-11-29 조회 6,662
04-11-29 조회 4,475
04-11-29 조회 6,830
04-11-28 조회 3,959
04-11-10 조회 3,747
04-10-12 조회 6,097
04-09-16 조회 4,916
04-08-10 조회 6,677
04-08-10 조회 3,928
04-08-10 조회 5,036
04-08-10 조회 7,537
04-08-10 조회 7,816
04-08-05 조회 5,995