📄 menu.jsp
字号:
} if(myLayer[first+1].clip.height==myHeight[first+1]){ thereC=true; whichOpen=first; MFXstopOpenS(first) }else{ myLayer[first+1].clip.height+=myStep; } if(running)setTimeout('MFXopenMenuC(first)',10); } if(IE&&!thereC){ ieStep+=myStep; myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (ieStep) +" "+ ("auto") +")"; if(ieStep>=myHeight[first+1]){ thereC=true; whichOpen=first; MFXstopOpenS(first) } if(running)setTimeout('MFXopenMenuC(first)',10); } } function MFXcloseMenuS(myName){ myStep=mySpeed; if(NN&&!thereCS&&!(second==lastMain)){ if(myLayer[second+2].top-myStep<myTop[second+2]){ myStep=myLayer[second+2].top-myTop[second+2]; } for(i=second+2; i<myLayer.length; i+=2){ myLayer[i].top-=myStep; } if(myLayer[second+2].top==myTop[second+2]){ MFXstopCloseS(second); } if(running)setTimeout('MFXcloseMenuS(second)',10); } if(IE&&!thereCS&&!(second==lastMain)){ if(myLayer[second+2].pixelTop-myStep<myTop[second+2]){ myStep=myLayer[second+2].pixelTop-myTop[second+2]; } for(i=second+2; i<myLayer.length; i+=2){ myLayer[i].pixelTop-=myStep; } if(myLayer[second+2].pixelTop==myTop[second+2]){ MFXstopCloseS(second); } if(running)setTimeout('MFXcloseMenuS(second)',10); } } function MFXcloseMenuC(myName){ myStep=-mySpeed; ieStep1-=mySpeed; if(NN&&!thereCC){ if ((myLayer[second+1].clip.bottom+myStep)<0){ myLayer[second+1].clip.bottom=0; } if(myLayer[second+1].clip.bottom==0){ thereCC=true; if(second==lastMain)MFXstopCloseS(second); }else{ myLayer[second+1].clip.bottom+=myStep; } if(running)setTimeout('MFXcloseMenuC(second)',10); } if(IE&&!thereCC){ if(ieStep1<=0){ myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (0) +" "+ ("auto") +")"; thereCC=true; if(second==lastMain)MFXstopCloseS(second); }else{ myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (ieStep1) +" "+ ("auto") +")"; } if(running)setTimeout('MFXcloseMenuC(second)',10); } } 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; } --> </script> </head> <body onLoad="MFXinitMenu()" bgcolor="#E0E6FE"> <table width="100%" border="0" cellspacing="0"> <tr> <td> <%=session.getAttribute ("userid")%> </td> <td> <a href="/cuiter/EndAction" target="_parent">退出</a> </td> </tr> </table> <table width="400" border="0" cellspacing="0" cellpadding="0" height="300"> <tr> <td> <DIV id="MFX0" style="position:absolute; width:150px; height:25px; z-index:2; left:10px; top: 50px; visibility: hidden"> <table width="156" border="0" cellspacing="0" cellpadding="0"> <tr> <td background="jsimg/left_background_01.gif" height="25"> <b><a href="#" class="a_title" onClick="MFXrunMenu(0,5)">用户管理</a></b></td> <td background="jsimg/left_background_02.gif" width="21" height="25"></td> <td width="25"><a href="#" class="c215DC6" onClick="MFXrunMenu(0,5)"><img src="jsimg/left_arrow_down.gif" width="25" height="25" border="0"></a></td> </tr> </table> </DIV> <div id="MFX1" style="position:absolute; width:150px; height:126px; z-index:1; left:200px; top: 75px; visibility: hidden"> <table width="156" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td width="1" bgcolor="FFFFFF"></td> <td width="154" bgcolor="D6DFF7" height="125" align="center"> <table width="130" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="22" height="23"><img src="jsimg/icon_small_01.gif" width="16" height="16"></td> <td width="108"><a href="/cuiter/ManageMemberAction?jumpPage=1" target="mainFrame" class="c215DC6">用户列表</a></td> </tr> </table> </td> <td width="1" bgcolor="FFFFFF"></td> </tr> <tr bgcolor="FFFFFF"> <td colspan="3" height="1"></td> </tr> </table> </div> <div id="MFX2" style="position:absolute; width:150px; height:38px; z-index:2; left:200px; top: 201px; visibility: hidden"> <table width="156" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="13" colspan="3"> </td> </tr> <tr> <td background="jsimg/left_background_01.gif" height="25"> <b><a href="#" class="a_title" onClick="MFXrunMenu(2,5)">商品管理</a></b></td> <td background="jsimg/left_background_02.gif" width="21" height="25"></td> <td width="25"><a href="#" class="c215DC6" onClick="MFXrunMenu(2,5)"><img src="jsimg/left_arrow_down.gif" width="25" height="25" border="0"></a></td> </tr> </table> </div> <DIV id="MFX3" style="position:absolute; width:150px; height:106px; z-index:1; left:200px; top: 226px; visibility: hidden"> <table width="156" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td width="1" bgcolor="FFFFFF"></td> <td width="154" bgcolor="D6DFF7" height="105" align="center"> <table width="130" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="22" height="23"><img src="jsimg/icon_small_06.gif" width="16" height="16"></td> <td width="108"><a href="addShop.jsp" target="mainFrame" class="c215DC6">添加食品</a></td> </tr> <tr> <td width="22" height="23"><img src="jsimg/icon_small_07.gif" width="16" height="16"></td> <td width="108"><a href="/cuiter/ManageFoodAction?jumpPage=1" target="mainFrame" class="c215DC6">食品列表</a></td> </tr> </table> </td> <td width="1" bgcolor="FFFFFF"></td> </tr> <tr bgcolor="FFFFFF"> <td colspan="3" height="9"></td> </tr> </table> </DIV> <DIV id="MFX4" style="position:absolute; width:150px; height:38px; z-index:2; left:200px; top: 302px; visibility: hidden"> <table width="156" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="13" colspan="3"> </td> </tr> <tr> <td background="jsimg/left_background_01.gif" height="25"> <b><a href="#" class="a_title" onClick="MFXrunMenu(4,5)">订单管理</a></b></td> <td background="jsimg/left_background_02.gif" width="21" height="25"></td> <td width="25"><a href="#" class="c215DC6" onClick="MFXrunMenu(4,5)"><img src="jsimg/left_arrow_down.gif" width="25" height="25" border="0"></a></td> </tr> </table> </DIV> <DIV id="MFX5" style="position:absolute; width:150px; height:106px; z-index:1; left:200px; top: 357px; visibility: hidden"> <table width="156" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td width="1" bgcolor="FFFFFF"></td> <td width="154" bgcolor="D6DFF7" height="106" align="center"> <table width="130" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="22" height="23"><img src="jsimg/icon_small_10.gif" width="16" height="16"></td> <td width="108"><a href="/cuiter/ManageOrderAction?jumpPage=1" class="c215DC6" target="mainFrame">订单列表</a></td> </tr> </table> </td> <td width="1" bgcolor="FFFFFF"></td> </tr> <tr bgcolor="FFFFFF"> <td colspan="3" height="1"></td> </tr> </table> </DIV> </td> </tr> </table> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -