⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 desk_jsp.java

📁 一个银行数据中心网站
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
      out.write("if(srcel.id==\"mMenu\"+x)\n");
      out.write("return;\n");
      out.write("}\n");
      out.write("for(x=1;x<=mnumberofsub;x++){\n");
      out.write("if(srcel.id==\"mp\"+x)\n");
      out.write("return;\n");
      out.write("}\n");
      out.write("mallhide();\n");
      out.write("}\n");
      out.write("}\n");
      out.write("document.onclick=mbody_click;\n");
      out.write("\n");
      out.write("function mwritetodocument(){\n");
      out.write("var mwb=1;\n");
      out.write("var stringx='<div id=\"mposflag\" style=\"position:absolute;\"></div><table id=mmenutable border=0 cellpadding=3 cellspacing=2 width='+mmenuwidth+' height='+mmenuheight+' bgcolor='+mmenucolor+\n");
      out.write("' onselectstart=\"event.returnValue=false\"'+\n");
      out.write("' style=\"filter:Alpha(Opacity=80);cursor:'+mcursor+';'+mfonts+\n");
      out.write("' border-left: '+mwb+'px solid '+mmenuoutbordercolor+';'+\n");
      out.write("' border-right: '+mwb+'px solid '+mmenuinbordercolor+'; '+\n");
      out.write("'border-top: '+mwb+'px solid '+mmenuoutbordercolor+'; '+\n");
      out.write("'border-bottom: '+mwb+'px solid '+mmenuinbordercolor+'; padding:0px\"><tr>'\n");
      out.write("for(var x=0;x<mmenus.length;x++){\n");
      out.write("var thismenu=mmenus[x];\n");
      out.write("var imgsize=\"\";\n");
      out.write("if(thismenu.sizex!=\"0\"||thismenu.sizey!=\"0\")imgsize=\" width=\"+thismenu.sizex+\" height=\"+thismenu.sizey;\n");
      out.write("var ifspace=\"\";\n");
      out.write("if(thismenu.caption!=\"\")ifspace=\"&nbsp;\";\n");
      out.write("stringx += \"<td nowrap class=coolButton id=mMenu\"+x+\" style='border: \"+mitemedge+\"px solid \"+mmenucolor+\n");
      out.write("\"' width=\"+mmenuunitwidth+\"px onmouseover=mmenu_over(mmenudiv\"+x+\n");
      out.write("\",\"+x+\") onmouseout=mmenu_out(\"+x+\n");
      out.write("\") onmousedown=mmenu_down(mmenudiv\"+x+\",\"+x+\")\";\n");
      out.write("if(thismenu.command!=\"\"){\n");
      out.write("stringx += \" onmouseup=mmenu_up();mexec2(\"+x+\");\";\n");
      out.write("}else{\n");
      out.write("stringx += \" onmouseup=mmenu_up()\";\n");
      out.write("}\n");
      out.write("if(thismenu.pos==\"0\"){\n");
      out.write("stringx += \" align=center><img align=absmiddle src='\"+thismenu.img+\"'\"+imgsize+\">\"+ifspace+thismenu.caption+\"</td>\";\n");
      out.write("}else if(thismenu.pos==\"1\"){\n");
      out.write("stringx += \" align=center>\"+thismenu.caption+ifspace+\"<img align=absmiddle src='\"+thismenu.img+\"'\"+imgsize+\"></td>\";\n");
      out.write("}else if(thismenu.pos==\"2\"){\n");
      out.write("stringx += \" align=center background='\"+thismenu.img+\"'>&nbsp;\"+thismenu.caption+\"&nbsp;</td>\";\n");
      out.write("}else{\n");
      out.write("stringx += \" align=center>&nbsp;\"+thismenu.caption+\"&nbsp;</td>\";\n");
      out.write("}\n");
      out.write("stringx += \"\";\n");
      out.write("}\n");
      out.write("stringx+=\"<td width=*>&nbsp;</td></tr></table>\";\n");
      out.write("\n");
      out.write("\n");
      out.write("for(var x=0;x<mmenus.length;x++){\n");
      out.write("thismenu=mmenus[x];\n");
      out.write("if(x<0){\n");
      out.write("stringx+='<div id=mmenudiv'+x+' style=\"visiable:none\"></div>';\n");
      out.write("}else{\n");
      out.write("stringx+='<div id=mmenudiv'+x+\n");
      out.write("' style=\"filter:Alpha(Opacity=80);cursor:'+mcursor+';position:absolute;'+\n");
      out.write("'width:'+mmenuitemwidth+'px; z-index:'+(x+100);\n");
      out.write("if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge==\"0\"){\n");
      out.write("stringx+=';border-left: 1px solid '+mmidoutcolor+\n");
      out.write("';border-top: 1px solid '+mmidoutcolor;}\n");
      out.write("stringx+=';border-right: 1px solid '+mmenuinbordercolor+\n");
      out.write("';border-bottom: 1px solid '+mmenuinbordercolor+';visibility:hidden\" onselectstart=\"event.returnValue=false\">\\n'+\n");
      out.write("'<table width=\"100%\" border=\"0\" height=\"100%\" align=\"center\" cellpadding=\"0\" cellspacing=\"2\" '+\n");
      out.write("'style=\"'+mfonts+' border-left: 1px solid '+mmenuoutbordercolor;\n");
      out.write("if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge==\"0\"){\n");
      out.write("stringx+=';border-right: 1px solid '+mmidincolor+\n");
      out.write("';border-bottom: 1px solid '+mmidincolor;}\n");
      out.write("stringx+=';border-top: 1px solid '+mmenuoutbordercolor+\n");
      out.write("';padding: 4px\" bgcolor='+mmenucolor+'>\\n'\n");
      out.write("for(var i=0;i<thismenu.items.length;i++){\n");
      out.write("var thismenuitem=thismenu.items[i];\n");
      out.write("var imgsize=\"\";\n");
      out.write("if(thismenuitem.sizex!=\"0\"||thismenuitem.sizey!=\"0\")imgsize=\" width=\"+thismenuitem.sizex+\" height=\"+thismenuitem.sizey;\n");
      out.write("var ifspace=\"\";\n");
      out.write("if(thismenu.caption!=\"\")ifspace=\"&nbsp;\";\n");
      out.write("if(thismenuitem.hasc!=null){\n");
      out.write("stringx += \"<tr><td id=mp\"+thismenuitem.hasc+\" class=coolButton style='border: \"+mitemedge+\"px solid \"+mmenucolor+\n");
      out.write("\"' width=100% onmouseout=mmenuitem_out(true) onmouseover=\\\"mmenuitem_over(mmenudiv\"+x+\n");
      out.write("\",'\"+thismenuitem.hasc+\"',\"+x+\",-1,\"+i+\");mshowsubmenu(msubmenudiv\"+thismenuitem.hasc+\",mp\"+thismenuitem.hasc+\",mmenudiv\"+x+\");\\\"\"+\n");
      out.write("\"><table id=mitem\"+thismenuitem.hasc+\" cellspacing='0' cellpadding='0' border='0' width='100%' style='\"+mfonts+\"'><tr><td \";\n");
      out.write("if(thismenuitem.pos==\"0\"){\n");
      out.write("stringx += \"><img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\">\"+ifspace+thismenuitem.caption+\"</td><td\";\n");
      out.write("}else if(thismenuitem.pos==\"1\"){\n");
      out.write("stringx += \">\"+thismenuitem.caption+ifspace+\"<img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\"></td><td\";\n");
      out.write("}else if(thismenuitem.pos==\"2\"){\n");
      out.write("stringx += \"background='\"+thismenuitem.img+\"'>\"+thismenuitem.caption+\"</td><td background='\"+thismenuitem.img+\"'\";\n");
      out.write("}else{\n");
      out.write("stringx += \">\"+thismenuitem.caption+\"</td><td\";\n");
      out.write("}\n");
      out.write("stringx += \" align=right width='1'><font face='Webdings' style='font-size: 6pt'>4</font></td></tr></table></td></tr>\\n\";\n");
      out.write("}else if(!thismenuitem.isline){\n");
      out.write("stringx += \"<tr><td class=coolButton style='border: \"+mitemedge+\"px solid \"+mmenucolor+\n");
      out.write("\"' width=100% height=15px onmouseover=\\\"mmenuitem_over(mmenudiv\"+x+\n");
      out.write("\",false,\"+x+\",-1,\"+i+\");\\\" onmouseout=mmenuitem_out() onmousedown=mmenuitem_down() onmouseup=\";\n");
      out.write("stringx += \"mmenuitem_up();mexec(\"+x+\",\"+i+\"); \";\n");
      out.write("if(thismenuitem.pos==\"0\"){\n");
      out.write("stringx += \"><img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\">\"+ifspace+thismenuitem.caption+\"</td></tr>\";\n");
      out.write("}else if(thismenuitem.pos==\"1\"){\n");
      out.write("stringx += \">\"+thismenuitem.caption+ifspace+\"<img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\"></td></tr>\";\n");
      out.write("}else if(thismenuitem.pos==\"2\"){\n");
      out.write("stringx += \"background='\"+thismenuitem.img+\"'>\"+thismenuitem.caption+\"</td></tr>\";\n");
      out.write("}else{\n");
      out.write("stringx += \">\"+thismenuitem.caption+\"</td></tr>\";\n");
      out.write("}\n");
      out.write("}else{\n");
      out.write("stringx+='<tr><td height=\"1\" background=\"/images/hr.gif\" onmousemove=\"clearTimeout(mpopTimer);\"><img height=\"1\" width=\"1\" src=\"none.gif\" border=\"0\"></td></tr>\\n';\n");
      out.write("}\n");
      out.write("}stringx+='</table>\\n</div>'\n");
      out.write("}\n");
      out.write("}\n");
      out.write("\n");
      out.write("for(var j=1;j<=mnumberofsub;j++){\n");
      out.write("thisitem=eval(\"msub\"+j);\n");
      out.write("stringx+='<div id=msubmenudiv'+j+\n");
      out.write("' style=\"filter:Alpha(Opacity=80);tag:'+thisitem.level+';cursor:'+mcursor+';position:absolute;'+\n");
      out.write("'width:'+mmenuitemwidth+'px; z-index:'+(j+200);\n");
      out.write("if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge==\"0\"){\n");
      out.write("stringx+=';border-left: 1px solid '+mmidoutcolor+\n");
      out.write("';border-top: 1px solid '+mmidoutcolor;}\n");
      out.write("stringx+=';border-right: 1px solid '+mmenuinbordercolor+\n");
      out.write("';border-bottom: 1px solid '+mmenuinbordercolor+';visibility:hidden\" onselectstart=\"event.returnValue=false\">\\n'+\n");
      out.write("'<table width=\"100%\" border=\"0\" height=\"100%\" align=\"center\" cellpadding=\"0\" cellspacing=\"2\" '+\n");
      out.write("'style=\"'+mfonts+' border-left: 1px solid '+mmenuoutbordercolor;\n");
      out.write("if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge==\"0\"){\n");
      out.write("stringx+=';border-right: 1px solid '+mmidincolor+\n");
      out.write("';border-bottom: 1px solid '+mmidincolor;}\n");
      out.write("stringx+=';border-top: 1px solid '+mmenuoutbordercolor+\n");
      out.write("';padding: 4px\" bgcolor='+mmenucolor+'>\\n'\n");
      out.write("for(var i=0;i<thisitem.items.length;i++){\n");
      out.write("var thismenuitem=thisitem.items[i];\n");
      out.write("var imgsize=\"\";\n");
      out.write("if(thismenuitem.sizex!=\"0\"||thismenuitem.sizey!=\"0\")imgsize=\" width=\"+thismenuitem.sizex+\" height=\"+thismenuitem.sizey;\n");
      out.write("var ifspace=\"\";\n");
      out.write("if(thismenu.caption!=\"\")ifspace=\"&nbsp;\";\n");
      out.write("if(thismenuitem.hasc!=null){\n");
      out.write("stringx += \"<tr><td id=mp\"+thismenuitem.hasc+\" class=coolButton style='border: \"+mitemedge+\"px solid \"+mmenucolor+\n");
      out.write("\"' width=100% onmouseout=mmenuitem_out(true) onmouseover=\\\"mmenuitem_over(msubmenudiv\"+j+\n");
      out.write("\",'\"+thismenuitem.hasc+\"',-1,\"+j+\",\"+i+\");mshowsubmenu(msubmenudiv\"+thismenuitem.hasc+\",mp\"+thismenuitem.hasc+\",msubmenudiv\"+j+\");\\\"\"+\n");
      out.write("\"><table id=mitem\"+thismenuitem.hasc+\" cellspacing='0' cellpadding='0' border='0' width='100%' style='\"+mfonts+\"'><tr><td \";\n");
      out.write("if(thismenuitem.pos==\"0\"){\n");
      out.write("stringx += \"><img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\">\"+ifspace+thismenuitem.caption+\"</td><td\";\n");
      out.write("}else if(thismenuitem.pos==\"1\"){\n");
      out.write("stringx += \">\"+thismenuitem.caption+ifspace+\"<img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\"></td><td\";\n");
      out.write("}else if(thismenuitem.pos==\"2\"){\n");
      out.write("stringx += \"background='\"+thismenuitem.img+\"'>\"+thismenuitem.caption+\"</td><td background='\"+thismenuitem.img+\"'\";\n");
      out.write("}else{\n");
      out.write("stringx += \">\"+thismenuitem.caption+\"</td><td\";\n");
      out.write("}\n");
      out.write("stringx += \" align=right width='1'><font face='Webdings' style='font-size: 6pt'>4</font></td></tr></table></td></tr>\\n\";\n");
      out.write("}else if(!thismenuitem.isline){\n");
      out.write("stringx += \"<tr><td class=coolButton style='border: \"+mitemedge+\"px solid \"+mmenucolor+\n");
      out.write("\"' width=100% height=15px onmouseover=\\\"mmenuitem_over(msubmenudiv\"+j+\n");
      out.write("\",false,-1,\"+j+\",\"+i+\");\\\" onmouseout=mmenuitem_out() onmousedown=mmenuitem_down() onmouseup=\";\n");
      out.write("stringx += \"mmenuitem_up();mexec3(\"+j+\",\"+i+\"); \";\n");
      out.write("if(thismenuitem.pos==\"0\"){\n");
      out.write("stringx += \"><img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\">\"+ifspace+thismenuitem.caption+\"</td></tr>\";\n");
      out.write("}else if(thismenuitem.pos==\"1\"){\n");
      out.write("stringx += \">\"+thismenuitem.caption+ifspace+\"<img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\"></td></tr>\";\n");
      out.write("}else if(thismenuitem.pos==\"2\"){\n");
      out.write("stringx += \"background='\"+thismenuitem.img+\"'>\"+thismenuitem.caption+\"</td></tr>\";\n");
      out.write("}else{\n");
      out.write("stringx += \">\"+thismenuitem.caption+\"</td></tr>\";\n");
      out.write("}\n");
      out.write("}else{\n");
      out.write("stringx+='<tr><td height=\"1\" background=\"/images/hr.gif\" onmousemove=\"clearTimeout(mpopTimer);\"><img height=\"1\" width=\"1\" src=\"none.gif\" border=\"0\"></td></tr>\\n';\n");
      out.write("}\n");
      out.write("}\n");
      out.write("stringx+='</table>\\n</div>'\n");
      out.write("}\n");
      out.write("document.write(\"<div align='center' id='JsMenuCSS'>\"+stringx+\"</div>\");\n");
      out.write("}\n");
      out.write("\n");
      out.write("\n");
      out.write("mpmenu1=new mMenu('&nbsp;首页&nbsp;|','/','self','','','','');\n");
      out.write("//mpmenu1.addItem(new mMenuItem('&nbsp;用户注册','/register.asp','self',false,'用户注册',null,'','','',''));\n");
      out.write("//mpmenu1.addItem(new mMenuItem('&nbsp;用户登录','index.jsp','blank',false,'用户登录',null,'','333','333','333'));\n");
      out.write("//mpmenu1.addItem(new mMenuItem('&nbsp;用户退出','/login.asp?action=logout','self',false,'用户退出',null,'','','',''));\n");
      out.write("//mpmenu1.addItem(new mMenuItem('&nbsp;资料修改','/bbs/MYMODIFY.ASP','self',false,'',null,'','','',''));\n");
      out.write("mpmenu2=new mMenu('系统管理&nbsp;|','/SoftDown/','self','','','','');\n");
      out.write("mpmenu2.addItem(new mMenuItem('&nbsp;管理员管理','/softdown/index.asp?CateID=1','self',false,'管理员管理',null,'','','',''));\n");
      out.write("mpmenu2.addItem(new mMenuItem('&nbsp;撤消登录','Loginout.jsp','blank',false,'撤消登录',null,'','','',''));\n");
      out.write("mpmenu2.addItem(new mMenuItem('&nbsp;退出','/softdown/index.asp?CateID=3','self',false,'退出',null,'','','',''));\n");
      out.write("\n");
      out.write("mpmenu3=new mMenu('&nbsp;系统功能&nbsp;|','/SoftSchool/','self','','','','');\n");
      out.write("mpmenu3.addItem(new mMenuItem('&nbsp;监控模块','/SoftSchool/Index.Asp?CateID=1','self',false,'监控模块',null,'','','',''));\n");
      out.write("mpmenu3.addItem(new mMenuItem('&nbsp;告警模块','/SoftSchool/Index.Asp?CateID=2','self',false,'告警模块',null,'','','',''));\n");
      out.write("mpmenu3.addItem(new mMenuItem('&nbsp;交接班模块','/SoftSchool/Index.Asp?CateID=3','self',false,'交接班模块',null,'','','',''));\n");
      out.write("mpmenu3.addItem(new mMenuItem('&nbsp;派修单管理','/SoftSchool/Index.Asp?CateID=4','self',false,'派修单管理',null,'','','',''));\n");
      out.write("mpmenu3.addItem(new mMenuItem('&nbsp;数据查询','/SoftSchool/Index.Asp?CateID=5','self',false,'数据查询',null,'','','',''));\n");
      out.write("mpmenu3.addItem(new mMenuItem('&nbsp;统计图表','/SoftSchool/Index.Asp?CateID=6','self',false,'统计图表',null,'','','',''));\n");
      out.write("mpmenu3.addItem(new mMenuItem('&nbsp;设备管理','/SoftSchool/Index.Asp?CateID=7','self',false,'设备管理',null,'','','',''));\n");
      out.write("mpmenu3.addItem(new mMenuItem('&nbsp;自动控制设置','/SoftSchool/Index.asp?order=hits&updown=desc','self',false,'自动控制设置',null,'','','',''));\n");
      out.write("mpmenu4=new mMenu('辅助功能&nbsp;|','/Develop/','self','','','','');\n");
      out.write("mpmenu4.addItem(new mMenuItem('&nbsp;操作日志','/Develop/Index.Asp?CateID=1','self',false,'操作日志',null,'','','',''));\n");
      out.write("mpmenu4.addItem(new mMenuItem('&nbsp;获取配置数据','/Develop/Index.Asp?CateID=10','self',false,'获取配置数据',null,'','','',''));\n");
      out.write("mpmenu4.addItem(new mMenuItem('&nbsp;屏幕打印','/Develop/Index.Asp?CateID=2','self',false,'屏幕打印',null,'','','',''));\n");
      out.write("mpmenu5=new mMenu('窗口&nbsp;|','/Lunwen/','self','','','','');\n");
      out.write("mpmenu5.addItem(new mMenuItem('&nbsp;层叠','/Lunwen/Index.Asp?CateID=1','self',false,'层叠',null,'','','',''));\n");
      out.write("mpmenu5.addItem(new mMenuItem('&nbsp;水平平铺','/Lunwen/Index.Asp?CateID=2','self',false,'教学管理',null,'','','',''));\n");
      out.write("mpmenu5.addItem(new mMenuItem('&nbsp;垂直平铺','/Lunwen/Index.Asp?CateID=3','self',false,'探索研究',null,'','','',''));\n");
      out.write("mpmenu6=new mMenu('帮助','/bbs/','self','','','','');\n");
      out.write("mpmenu6.addItem(new mMenuItem('&nbsp;功能指南','/Lunwen/Index.Asp?CateID=3','self',false,'功能指南',null,'','','',''));\n");
      out.write("\n");
      out.write("mwritetodocument();\n");
      out.write("</script>\n");
      out.write("<span class=\"style2\"></span><span class=\"style1\"></span>\n");
      out.write("</body>\n");
      out.write("\n");
      out.write("</html>\n");
      out.write("\n");
      out.write("\n");
      out.write("<div id=\"Layer1\" style=\"position:absolute; left:133px; top:123px; width:175px; height:180px; z-index:1\"><span class=\"style1\"><a href=\"index.jsp\" target=_top ><img src=\"\" alt=\"\" name=\"jiaoliu\" width=\"175\" height=\"185\" border=\"0\" style=\"background-color: #CCFF00\"></a></span></div>\n");
      out.write("<div id=\"Layer2\" style=\"position:absolute; left:448px; top:122px; width:174px; height:181px; z-index:2\"><a href=\"menu.jsp\"><img src=\"\" alt=\"\" name=\"zhiliu\" width=\"173\" height=\"185\" border=\"0\" style=\"background-color: #CCFF00\"></a></div>\n");
      out.write("<div id=\"Layer3\" style=\"position:absolute; left:136px; top:324px; width:172px; height:165px; z-index:3\"><a href=\"mainIndex.jsp\"><img src=\"\" alt=\"\" name=\"kongtiao\" width=\"173\" height=\"185\" border=\"0\" style=\"background-color: #CCFF00\"></a></div>\n");
      out.write("<div id=\"Layer4\" style=\"position:absolute; left:448px; top:326px; width:173px; height:156px; z-index:4\"><a href=\"userLogin.jsp\" target=_top ><img src=\"\" alt=\"\" name=\"huabjing\" width=\"173\" height=\"185\" border=\"0\" style=\"background-color: #CCFF00\"></a></div>\n");
      out.write("\n");
      out.write("</body>\n");
      out.write("\n");
      out.write("</html>\n");
      out.write("\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -