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

📄 navigate_jsp.java

📁 一个银行数据中心网站
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n\r\n<html>\r\n\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<style type=\"\" >\r\n<!--\r\nbody { font-size: 9pt; font-family: 新宋体 }\r\n.style1 {color: red}\r\n.style2 {color: #6666FF}\r\n-->\r\n</style>\r\n<title>导航条</title>\r\n<style type=\"text/css\">\r\n<!--\r\nbody,td,th {\r\n\tcolor: #000000;\r\n}\r\nbody {\r\n\tbackground-color: #0069cc;\r\n}\r\n.style2 {color: #66CCCC}\r\n-->\r\n</style></head>\r\n\r\n<body  >\r\n\r\n<script language=\"JavaScript\" type=\"\">\r\nvar mmenus = new Array();\r\nvar misShow = new Boolean();\r\nmisShow=false;\r\nvar misdown = new Boolean();\r\nmisdown=false;\r\nvar mnumberofsub=0;\r\nvar musestatus=false;\r\nvar mpopTimer = 0;\r\nmmenucolor='#0069cc';mfontcolor='MenuText';mmenuoutcolor='#CCCCCC';mmenuincolor='#CCCCCC';mmenuoutbordercolor='#6699CC';mmenuinbordercolor='#CCCCCC';mmidoutcolor='#6699CC';mmidincolor='#66CCFF';mmenuovercolor='#6699CC';mitemedge='0';msubedge='0';mmenuunitwidth=110;mmenuitemwidth=120;mmenuheight=15;mmenuwidth='100%';mmenuadjust=0;mmenuadjustV=0;mfonts='font-family:新宋体; font-size:10pt; color: MenuText; ';mcursor='hand';\r\n");
      out.write("var swipeSteps = 4;\r\nvar swipemsec = 25;\r\nvar swipeArray = new Array();\r\nfunction swipe(el, dir, steps, msec) {\r\nif (steps == null) steps = swipeSteps;\r\nif (msec == null) msec = swipemsec;\r\nif (el.swipeIndex == null)\r\nel.swipeIndex = swipeArray.length;\r\nif (el.swipeTimer != null)\r\nwindow.clearTimeout(el.swipeTimer);\r\nswipeArray[el.swipeIndex] = el;\r\nel.style.clip = \"rect(-99999, 99999, 99999, -99999)\";\r\nif (el.swipeCounter == null || el.swipeCounter == 0) {\r\nel.orgLeft = el.offsetLeft;\r\nel.orgTop = el.offsetTop;\r\nel.orgWidth = el.offsetWidth;\r\nel.orgHeight = el.offsetHeight;\r\n}\r\nel.swipeCounter = steps;\r\nel.style.clip = \"rect(0,0,0,0)\";\r\nwindow.setTimeout(\"repeat(\" + dir + \",\" + el.swipeIndex + \",\" + steps + \",\" + msec + \")\", msec);\r\n}\r\nfunction repeat(dir, index, steps, msec) {\r\nel = swipeArray[index];\r\nvar left = el.orgLeft;\r\nvar top = el.orgTop;\r\nvar width = el.orgWidth;\r\nvar height = el.orgHeight;\r\nif (el.swipeCounter == 0) {\r\nel.style.clip = \"rect(-99999, 99999, 99999, -99999)\";\r\nreturn;\r\n}\r\nelse {\r\nel.swipeCounter--;\r\n");
      out.write("el.style.visibility = \"visible\";\r\nswitch (dir) {\r\ncase 2:\r\nel.style.clip = \"rect(\" + height*el.swipeCounter/steps + \",\" + width + \",\" + height + \",\" + 0 + \")\";\r\nel.style.top = top - height*el.swipeCounter/steps;\r\nbreak;\r\ncase 8:\r\nel.style.clip = \"rect(\" + 0 + \",\" + width + \",\" + height*(steps-el.swipeCounter)/steps + \",\" + 0 + \")\";\r\nel.style.top = top + height*el.swipeCounter/steps;\r\nbreak;\r\ncase 6:\r\nel.style.clip = \"rect(\" + 0 + \",\" + width + \",\" + height + \",\" + width*(el.swipeCounter)/steps + \")\";\r\nel.style.left = left - width*el.swipeCounter/steps;\r\nbreak;\r\ncase 4:\r\nel.style.clip = \"rect(\" + 0 + \",\" + width*(swipeSteps - el.swipeCounter)/steps + \",\" + height + \",\" + 0 + \")\";\r\nel.style.left = left + width*el.swipeCounter/steps;\r\nbreak;\r\n}\r\n\r\nel.swipeTimer = window.setTimeout(\"repeat(\" + dir + \",\" + index + \",\" + steps + \",\" + msec + \")\", msec);\r\n}\r\n}\r\nvar mtmpleft=\"\";\r\nvar mtmptop=\"\";\r\nfunction hideSwipe(el) {\r\nwindow.clearTimeout(el.swipeTimer);\r\nel.style.visibility = \"hidden\";\r\nel.style.clip = \"rect(-99999, 99999, 99999, -99999)\";\r\n");
      out.write("el.swipeCounter = 0;\r\nif(mtmpleft!=\"\")el.style.left = mtmpleft;\r\nif(mtmptop!=\"\")el.style.top = mtmptop;\r\n}\r\n\r\nfunction stoperror(){\r\nreturn true;\r\n}\r\nwindow.onerror=stoperror;\r\nfunction mpopOut() {\r\nmpopTimer = setTimeout('mallhide()', 500);\r\n}\r\nfunction getReal(el, type, value) {\r\ntemp = el;\r\nwhile ((temp != null) && (temp.tagName != \"BODY\")) {\r\nif (eval(\"temp.\" + type) == value) {\r\nel = temp;\r\nreturn el;\r\n}\r\ntemp = temp.parentElement;\r\n}\r\nreturn el;\r\n}\r\n\r\n\r\nfunction mMenuRegister(menu)\r\n{\r\nmmenus[mmenus.length] = menu\r\nreturn (mmenus.length - 1)\r\n}\r\n\r\nfunction mMenuItem(caption,command,target,isline,statustxt,level,img,sizex,sizey,pos){\r\nthis.items = new Array();\r\nthis.caption=caption;\r\nthis.command=command;\r\nthis.target=target;\r\nthis.isline=isline;\r\nthis.statustxt=statustxt;\r\nif(level!=null){mnumberofsub++;\r\nthis.hasc=mnumberofsub;}\r\nthis.level=level;\r\nthis.img=img;\r\nthis.sizex=sizex;\r\nthis.sizey=sizey;\r\nthis.pos=pos;\r\n}\r\n\r\nfunction mMenu(caption,command,target,img,sizex,sizey,pos){\r\nthis.items = new Array();\r\n");
      out.write("this.caption=caption;\r\nthis.command=command;\r\nthis.target=target;\r\nthis.img=img;\r\nthis.sizex=sizex;\r\nthis.sizey=sizey;\r\nthis.pos=pos;\r\nthis.id=mMenuRegister(this);\r\n}\r\nfunction mMenuAddItem(item)\r\n{\r\nthis.items[this.items.length] = item\r\nitem.parent = this.id;\r\nthis.children=true;\r\n\r\n}\r\n\r\nmMenu.prototype.addItem = mMenuAddItem;\r\nmMenuItem.prototype.addsubItem = mMenuAddItem;\r\n\r\nfunction mtoout(src){\r\n\r\nsrc.style.borderLeftColor=mmenuoutbordercolor;\r\nsrc.style.borderRightColor=mmenuinbordercolor;\r\nsrc.style.borderTopColor=mmenuoutbordercolor;\r\nsrc.style.borderBottomColor=mmenuinbordercolor;\r\nsrc.style.backgroundColor=mmenuoutcolor;\r\nsrc.style.color=mmenuovercolor;\r\n}\r\nfunction mtoin(src){\r\n\r\nsrc.style.borderLeftColor=mmenuinbordercolor;\r\nsrc.style.borderRightColor=mmenuoutbordercolor;\r\nsrc.style.borderTopColor=mmenuinbordercolor;\r\nsrc.style.borderBottomColor=mmenuoutbordercolor;\r\nsrc.style.backgroundColor=mmenuincolor;\r\nsrc.style.color=mmenuovercolor;\r\n}\r\nfunction mnochange(src){\r\nsrc.style.borderLeftColor=mmenucolor;\r\n");
      out.write("src.style.borderRightColor=mmenucolor;\r\nsrc.style.borderTopColor=mmenucolor;\r\nsrc.style.borderBottomColor=mmenucolor;\r\nsrc.style.backgroundColor='';\r\nsrc.style.color=mfontcolor;\r\n\r\n}\r\nfunction mallhide(){\r\nfor(var nummenu=0;nummenu<mmenus.length;nummenu++){\r\nvar themenu=document.all['mMenu'+nummenu]\r\nvar themenudiv=document.all['mmenudiv'+nummenu]\r\nmnochange(themenu);\r\nmmenuhide(themenudiv);\r\n}\r\nfor(nummenu=1;nummenu<=mnumberofsub;nummenu++){\r\nvar thesub=document.all['msubmenudiv'+nummenu]\r\nmsubmenuhide(thesub);\r\nmnochange(document.all['mp'+nummenu]);\r\ndocument.all[\"mitem\"+nummenu].style.color=mfontcolor;\r\n}\r\n}\r\nfunction mmenuhide(menuid){\r\nmenuid.style.filter='Alpha(Opacity=100)';\r\nhideSwipe(menuid);\r\nmisShow=false;\r\n}\r\nfunction msubmenuhide(menuid){\r\nmenuid.style.filter='Alpha(Opacity=100)';\r\nmenuid.style.visibility='hidden';\r\n}\r\nfunction mmenushow(menuid,pid){\r\nmenuid.style.filter='Alpha(Opacity=80)';\r\nmenuid.style.left=mposflag.offsetLeft+pid.offsetLeft+mmenuadjust;menuid.style.top=mposflag.offsetTop+mmenutable.offsetHeight+mmenuadjustV;\r\n");
      out.write("if(mmenuitemwidth+parseInt(menuid.style.left)>document.body.clientWidth+document.body.scrollLeft)\r\nmenuid.style.left=document.body.clientWidth+document.body.scrollLeft-mmenuitemwidth;\r\nmtmpleft=menuid.style.left;mtmptop=menuid.style.top;swipe(menuid,2,4);\r\nmisShow=true;\r\n}\r\nfunction mshowsubmenu(menuid,pid,rid){\r\nmenuid.style.filter='Alpha(Opacity=80)';\r\nmenuid.style.left=pid.offsetWidth+rid.offsetLeft;\r\nmenuid.style.top=pid.offsetTop+rid.offsetTop-3;\r\nif(mmenuitemwidth+parseInt(menuid.style.left)>document.body.clientWidth+document.body.scrollLeft)\r\nmenuid.style.left=document.body.clientWidth+document.body.scrollLeft-mmenuitemwidth;\r\nmenuid.style.visibility='visible';\r\n}\r\nfunction mmenu_over(menuid,x){\r\ntoel = getReal(window.event.toElement, \"className\", \"coolButton\");\r\nfromel = getReal(window.event.fromElement, \"className\", \"coolButton\");\r\nif (toel == fromel) return;\r\nif(x<0){\r\nmisShow = false;\r\nmallhide();\r\nmtoout(eval(\"mMenu\"+x));\r\n}else{\r\n\r\nmallhide();\r\nmtoin(eval(\"mMenu\"+x));\r\nmmenushow(menuid,eval(\"mMenu\"+x));\r\n");
      out.write("\r\n}\r\nclearTimeout(mpopTimer);\r\n}\r\nfunction mmenu_out(x){\r\ntoel = getReal(window.event.toElement, \"className\", \"coolButton\");\r\nfromel = getReal(window.event.fromElement, \"className\", \"coolButton\");\r\nif (toel == fromel) return;\r\nif (misShow){\r\nmtoin(eval(\"mMenu\"+x));\r\n}else{\r\nmnochange(eval(\"mMenu\"+x));\r\n}\r\nmpopOut()\r\n}\r\nfunction mmenu_down(menuid,x){\r\nif(misShow){\r\nmmenuhide(menuid);\r\nmtoout(eval(\"mMenu\"+x));\r\n}\r\nelse{\r\nmtoin(eval(\"mMenu\"+x));\r\nmmenushow(menuid,eval(\"mMenu\"+x));\r\nmisdown=true;\r\n}\r\n}\r\nfunction mmenu_up(){\r\nmisdown=false;\r\n}\r\nfunction mmenuitem_over(menuid,item,x,j,i){\r\ntoel = getReal(window.event.toElement, \"className\", \"coolButton\");\r\nfromel = getReal(window.event.fromElement, \"className\", \"coolButton\");\r\nif (toel == fromel) return;\r\nsrcel = getReal(window.event.srcElement, \"className\", \"coolButton\");\r\nfor(nummenu=1;nummenu<=mnumberofsub;nummenu++){\r\nvar thesub=document.all['msubmenudiv'+nummenu]\r\nif(!(menuid==thesub||menuid.style.tag>=thesub.style.tag)){\r\nmsubmenuhide(thesub);\r\nmnochange(document.all['mp'+nummenu]);\r\n");
      out.write("document.all[\"mitem\"+nummenu].style.color=mfontcolor;\r\n}\r\n}\r\nif(item)document.all[\"mitem\"+item].style.color=mmenuovercolor;\r\nif(misdown||item){\r\nmtoin(srcel);\r\n}\r\nelse{\r\nmtoout(srcel);\r\n}\r\nif(x==-1)mthestatus=eval(\"msub\"+j).items[i].statustxt;\r\nif(j==-1)mthestatus=mmenus[x].items[i].statustxt;\r\nif(mthestatus!=\"\"){\r\nmusestatus=true;\r\nwindow.status=mthestatus;\r\n}\r\nclearTimeout(mpopTimer);\r\n}\r\nfunction mmenuitem_out(hassub){\r\ntoel = getReal(window.event.toElement, \"className\", \"coolButton\");\r\nfromel = getReal(window.event.fromElement, \"className\", \"coolButton\");\r\nif (toel == fromel) return;\r\nsrcel = getReal(window.event.srcElement, \"className\", \"coolButton\");\r\nif(!hassub)mnochange(srcel);\r\nif(musestatus)window.status=\"\";\r\nmpopOut()\r\n}\r\nfunction mmenuitem_down(){\r\nsrcel = getReal(window.event.srcElement, \"className\", \"coolButton\");\r\nmtoin(srcel)\r\nmisdown=true;\r\n}\r\nfunction mmenuitem_up(){\r\nsrcel = getReal(window.event.srcElement, \"className\", \"coolButton\");\r\nmtoout(srcel)\r\nmisdown=false;\r\n}\r\nfunction mexec3(j,i){\r\n");
      out.write("var cmd;\r\nif(eval(\"msub\"+j).items[i].target==\"blank\"){\r\n\r\ncmd = \"window.open('\"+eval(\"msub\"+j).items[i].command+\"')\";\r\n\r\n}else{\r\ncmd = eval(\"msub\"+j).items[i].target+\".location=\\\"\"+eval(\"msub\"+j).items[i].command+\"\\\"\";\r\n}\r\neval(cmd);\r\n}\r\nfunction mexec2(x){\r\nvar cmd;\r\n\r\n\r\nif(mmenus[x].target==\"blank\"){\r\n\r\ncmd = \"window.open('\"+mmenus[x].command+\"')\";\r\n\r\n}else{\r\ncmd = mmenus[x].target+\".location=\\\"\"+mmenus[x].command+\"\\\"\";\r\n}\r\neval(cmd);\r\n}\r\nfunction mexec(x,i){\r\nvar cmd;\r\nif(mmenus[x].items[i].target==\"blank\"){\r\n\r\ncmd = \"window.open('\"+mmenus[x].items[i].command+\"')\";\r\n\r\n}else{\r\ncmd = mmenus[x].items[i].target+\".location=\\\"\"+mmenus[x].items[i].command+\"\\\"\";\r\n}\r\neval(cmd);\r\n}\r\nfunction mbody_click(){\r\n\r\nif (misShow){\r\nsrcel = getReal(window.event.srcElement, \"className\", \"coolButton\");\r\nfor(var x=0;x<=mmenus.length;x++){\r\nif(srcel.id==\"mMenu\"+x)\r\nreturn;\r\n}\r\nfor(x=1;x<=mnumberofsub;x++){\r\nif(srcel.id==\"mp\"+x)\r\nreturn;\r\n}\r\nmallhide();\r\n}\r\n}\r\ndocument.onclick=mbody_click;\r\n\r\nfunction mwritetodocument(){\r\nvar mwb=1;\r\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+\r\n' onselectstart=\"event.returnValue=false\"'+\r\n' style=\"filter:Alpha(Opacity=80);cursor:'+mcursor+';'+mfonts+\r\n' border-left: '+mwb+'px solid '+mmenuoutbordercolor+';'+\r\n' border-right: '+mwb+'px solid '+mmenuinbordercolor+'; '+\r\n'border-top: '+mwb+'px solid '+mmenuoutbordercolor+'; '+\r\n'border-bottom: '+mwb+'px solid '+mmenuinbordercolor+'; padding:0px\"><tr>'\r\nfor(var x=0;x<mmenus.length;x++){\r\nvar thismenu=mmenus[x];\r\nvar imgsize=\"\";\r\nif(thismenu.sizex!=\"0\"||thismenu.sizey!=\"0\")imgsize=\" width=\"+thismenu.sizex+\" height=\"+thismenu.sizey;\r\nvar ifspace=\"\";\r\nif(thismenu.caption!=\"\")ifspace=\"&nbsp;\";\r\nstringx += \"<td nowrap class=coolButton id=mMenu\"+x+\" style='border: \"+mitemedge+\"px solid \"+mmenucolor+\r\n\"' width=\"+mmenuunitwidth+\"px onmouseover=mmenu_over(mmenudiv\"+x+\r\n\",\"+x+\") onmouseout=mmenu_out(\"+x+\r\n\") onmousedown=mmenu_down(mmenudiv\"+x+\",\"+x+\")\";\r\n");
      out.write("if(thismenu.command!=\"\"){\r\nstringx += \" onmouseup=mmenu_up();mexec2(\"+x+\");\";\r\n}else{\r\nstringx += \" onmouseup=mmenu_up()\";\r\n}\r\nif(thismenu.pos==\"0\"){\r\nstringx += \" align=center><img align=absmiddle src='\"+thismenu.img+\"'\"+imgsize+\">\"+ifspace+thismenu.caption+\"</td>\";\r\n}else if(thismenu.pos==\"1\"){\r\nstringx += \" align=center>\"+thismenu.caption+ifspace+\"<img align=absmiddle src='\"+thismenu.img+\"'\"+imgsize+\"></td>\";\r\n}else if(thismenu.pos==\"2\"){\r\nstringx += \" align=center background='\"+thismenu.img+\"'>&nbsp;\"+thismenu.caption+\"&nbsp;</td>\";\r\n}else{\r\nstringx += \" align=center>&nbsp;\"+thismenu.caption+\"&nbsp;</td>\";\r\n}\r\nstringx += \"\";\r\n}\r\nstringx+=\"<td width=*>&nbsp;</td></tr></table>\";\r\n\r\n\r\nfor(var x=0;x<mmenus.length;x++){\r\nthismenu=mmenus[x];\r\nif(x<0){\r\nstringx+='<div id=mmenudiv'+x+' style=\"visiable:none\"></div>';\r\n}else{\r\nstringx+='<div id=mmenudiv'+x+\r\n' style=\"filter:Alpha(Opacity=80);cursor:'+mcursor+';position:absolute;'+\r\n'width:'+mmenuitemwidth+'px; z-index:'+(x+100);\r\nif(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge==\"0\"){\r\n");
      out.write("stringx+=';border-left: 1px solid '+mmidoutcolor+\r\n';border-top: 1px solid '+mmidoutcolor;}\r\nstringx+=';border-right: 1px solid '+mmenuinbordercolor+\r\n';border-bottom: 1px solid '+mmenuinbordercolor+';visibility:hidden\" onselectstart=\"event.returnValue=false\">\\n'+\r\n'<table width=\"100%\" border=\"0\" height=\"100%\" align=\"center\" cellpadding=\"0\" cellspacing=\"2\" '+\r\n'style=\"'+mfonts+' border-left: 1px solid '+mmenuoutbordercolor;\r\nif(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge==\"0\"){\r\nstringx+=';border-right: 1px solid '+mmidincolor+\r\n';border-bottom: 1px solid '+mmidincolor;}\r\nstringx+=';border-top: 1px solid '+mmenuoutbordercolor+\r\n';padding: 4px\" bgcolor='+mmenucolor+'>\\n'\r\nfor(var i=0;i<thismenu.items.length;i++){\r\nvar thismenuitem=thismenu.items[i];\r\nvar imgsize=\"\";\r\nif(thismenuitem.sizex!=\"0\"||thismenuitem.sizey!=\"0\")imgsize=\" width=\"+thismenuitem.sizex+\" height=\"+thismenuitem.sizey;\r\nvar ifspace=\"\";\r\nif(thismenu.caption!=\"\")ifspace=\"&nbsp;\";\r\nif(thismenuitem.hasc!=null){\r\nstringx += \"<tr><td id=mp\"+thismenuitem.hasc+\" class=coolButton style='border: \"+mitemedge+\"px solid \"+mmenucolor+\r\n");
      out.write("\"' width=100% onmouseout=mmenuitem_out(true) onmouseover=\\\"mmenuitem_over(mmenudiv\"+x+\r\n\",'\"+thismenuitem.hasc+\"',\"+x+\",-1,\"+i+\");mshowsubmenu(msubmenudiv\"+thismenuitem.hasc+\",mp\"+thismenuitem.hasc+\",mmenudiv\"+x+\");\\\"\"+\r\n\"><table id=mitem\"+thismenuitem.hasc+\" cellspacing='0' cellpadding='0' border='0' width='100%' style='\"+mfonts+\"'><tr><td \";\r\nif(thismenuitem.pos==\"0\"){\r\nstringx += \"><img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\">\"+ifspace+thismenuitem.caption+\"</td><td\";\r\n}else if(thismenuitem.pos==\"1\"){\r\nstringx += \">\"+thismenuitem.caption+ifspace+\"<img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\"></td><td\";\r\n}else if(thismenuitem.pos==\"2\"){\r\nstringx += \"background='\"+thismenuitem.img+\"'>\"+thismenuitem.caption+\"</td><td background='\"+thismenuitem.img+\"'\";\r\n}else{\r\nstringx += \">\"+thismenuitem.caption+\"</td><td\";\r\n}\r\nstringx += \" align=right width='1'><font face='Webdings' style='font-size: 6pt'>4</font></td></tr></table></td></tr>\\n\";\r\n}else if(!thismenuitem.isline){\r\nstringx += \"<tr><td class=coolButton style='border: \"+mitemedge+\"px solid \"+mmenucolor+\r\n");
      out.write("\"' width=100% height=15px onmouseover=\\\"mmenuitem_over(mmenudiv\"+x+\r\n\",false,\"+x+\",-1,\"+i+\");\\\" onmouseout=mmenuitem_out() onmousedown=mmenuitem_down() onmouseup=\";\r\nstringx += \"mmenuitem_up();mexec(\"+x+\",\"+i+\"); \";\r\nif(thismenuitem.pos==\"0\"){\r\nstringx += \"><img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\">\"+ifspace+thismenuitem.caption+\"</td></tr>\";\r\n}else if(thismenuitem.pos==\"1\"){\r\nstringx += \">\"+thismenuitem.caption+ifspace+\"<img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\"></td></tr>\";\r\n}else if(thismenuitem.pos==\"2\"){\r\nstringx += \"background='\"+thismenuitem.img+\"'>\"+thismenuitem.caption+\"</td></tr>\";\r\n}else{\r\nstringx += \">\"+thismenuitem.caption+\"</td></tr>\";\r\n}\r\n}else{\r\nstringx+='<tr><td height=\"1\" background=\"/images/hr.gif\" onmousemove=\"clearTimeout(mpopTimer);\"><img height=\"1\" width=\"1\" src=\"none.gif\" border=\"0\"></td></tr>\\n';\r\n}\r\n}stringx+='</table>\\n</div>'\r\n}\r\n}\r\n\r\nfor(var j=1;j<=mnumberofsub;j++){\r\nthisitem=eval(\"msub\"+j);\r\nstringx+='<div id=msubmenudiv'+j+\r\n' style=\"filter:Alpha(Opacity=80);tag:'+thisitem.level+';cursor:'+mcursor+';position:absolute;'+\r\n");
      out.write("'width:'+mmenuitemwidth+'px; z-index:'+(j+200);\r\nif(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge==\"0\"){\r\nstringx+=';border-left: 1px solid '+mmidoutcolor+\r\n';border-top: 1px solid '+mmidoutcolor;}\r\nstringx+=';border-right: 1px solid '+mmenuinbordercolor+\r\n';border-bottom: 1px solid '+mmenuinbordercolor+';visibility:hidden\" onselectstart=\"event.returnValue=false\">\\n'+\r\n'<table width=\"100%\" border=\"0\" height=\"100%\" align=\"center\" cellpadding=\"0\" cellspacing=\"2\" '+\r\n'style=\"'+mfonts+' border-left: 1px solid '+mmenuoutbordercolor;\r\nif(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge==\"0\"){\r\nstringx+=';border-right: 1px solid '+mmidincolor+\r\n';border-bottom: 1px solid '+mmidincolor;}\r\nstringx+=';border-top: 1px solid '+mmenuoutbordercolor+\r\n';padding: 4px\" bgcolor='+mmenucolor+'>\\n'\r\nfor(var i=0;i<thisitem.items.length;i++){\r\nvar thismenuitem=thisitem.items[i];\r\nvar imgsize=\"\";\r\nif(thismenuitem.sizex!=\"0\"||thismenuitem.sizey!=\"0\")imgsize=\" width=\"+thismenuitem.sizex+\" height=\"+thismenuitem.sizey;\r\nvar ifspace=\"\";\r\n");
      out.write("if(thismenu.caption!=\"\")ifspace=\"&nbsp;\";\r\nif(thismenuitem.hasc!=null){\r\nstringx += \"<tr><td id=mp\"+thismenuitem.hasc+\" class=coolButton style='border: \"+mitemedge+\"px solid \"+mmenucolor+\r\n\"' width=100% onmouseout=mmenuitem_out(true) onmouseover=\\\"mmenuitem_over(msubmenudiv\"+j+\r\n\",'\"+thismenuitem.hasc+\"',-1,\"+j+\",\"+i+\");mshowsubmenu(msubmenudiv\"+thismenuitem.hasc+\",mp\"+thismenuitem.hasc+\",msubmenudiv\"+j+\");\\\"\"+\r\n\"><table id=mitem\"+thismenuitem.hasc+\" cellspacing='0' cellpadding='0' border='0' width='100%' style='\"+mfonts+\"'><tr><td \";\r\nif(thismenuitem.pos==\"0\"){\r\nstringx += \"><img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\">\"+ifspace+thismenuitem.caption+\"</td><td\";\r\n}else if(thismenuitem.pos==\"1\"){\r\nstringx += \">\"+thismenuitem.caption+ifspace+\"<img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\"></td><td\";\r\n}else if(thismenuitem.pos==\"2\"){\r\nstringx += \"background='\"+thismenuitem.img+\"'>\"+thismenuitem.caption+\"</td><td background='\"+thismenuitem.img+\"'\";\r\n}else{\r\nstringx += \">\"+thismenuitem.caption+\"</td><td\";\r\n");
      out.write("}\r\nstringx += \" align=right width='1'><font face='Webdings' style='font-size: 6pt'>4</font></td></tr></table></td></tr>\\n\";\r\n}else if(!thismenuitem.isline){\r\nstringx += \"<tr><td class=coolButton style='border: \"+mitemedge+\"px solid \"+mmenucolor+\r\n\"' width=100% height=15px onmouseover=\\\"mmenuitem_over(msubmenudiv\"+j+\r\n\",false,-1,\"+j+\",\"+i+\");\\\" onmouseout=mmenuitem_out() onmousedown=mmenuitem_down() onmouseup=\";\r\nstringx += \"mmenuitem_up();mexec3(\"+j+\",\"+i+\"); \";\r\nif(thismenuitem.pos==\"0\"){\r\nstringx += \"><img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\">\"+ifspace+thismenuitem.caption+\"</td></tr>\";\r\n}else if(thismenuitem.pos==\"1\"){\r\nstringx += \">\"+thismenuitem.caption+ifspace+\"<img align=absmiddle src='\"+thismenuitem.img+\"'\"+imgsize+\"></td></tr>\";\r\n}else if(thismenuitem.pos==\"2\"){\r\nstringx += \"background='\"+thismenuitem.img+\"'>\"+thismenuitem.caption+\"</td></tr>\";\r\n}else{\r\nstringx += \">\"+thismenuitem.caption+\"</td></tr>\";\r\n}\r\n}else{\r\nstringx+='<tr><td height=\"1\" background=\"/images/hr.gif\" onmousemove=\"clearTimeout(mpopTimer);\"><img height=\"1\" width=\"1\" src=\"none.gif\" border=\"0\"></td></tr>\\n';\r\n");
      out.write("}\r\n}\r\nstringx+='</table>\\n</div>'\r\n}\r\ndocument.write(\"<div align='center' id='JsMenuCSS'>\"+stringx+\"</div>\");\r\n}\r\n\r\n\r\nmpmenu1=new mMenu('&nbsp;首页&nbsp;','','self','','','','');\r\n//mpmenu1.addItem(new mMenuItem('&nbsp;用户注册','/register.asp','self',false,'用户注册',null,'','','',''));\r\nmpmenu1.addItem(new mMenuItem('&nbsp;用户登录','index.jsp','self',false,'用户登录',null,'','200','200','333'));\r\n//mpmenu1.addItem(new mMenuItem('&nbsp;用户退出','/login.asp?action=logout','self',false,'用户退出',null,'','','',''));\r\n//mpmenu1.addItem(new mMenuItem('&nbsp;资料修改','/bbs/MYMODIFY.ASP','self',false,'',null,'','','',''));\r\nmpmenu2=new mMenu('系统管理&nbsp;','/SoftDown/','self','','','','');\r\nmpmenu2.addItem(new mMenuItem('&nbsp;管理员管理','/softdown/index.asp?CateID=1','self',false,'管理员管理',null,'','','',''));\r\nmpmenu2.addItem(new mMenuItem('&nbsp;撤消登录','Loginout.jsp','self',false,'撤消登录',null,'','','',''));\r\nmpmenu2.addItem(new mMenuItem('&nbsp;返回首页','mainIndex.jsp','self',false,'返回首页',null,'','','',''));\r\n\r\nmpmenu3=new mMenu('&nbsp;系统功能&nbsp;','/SoftSchool/','self','','','','');\r\n");
      out.write("mpmenu3.addItem(new mMenuItem('&nbsp;监控模块','Select.jsp','self',false,'监控模块',null,'','','',''));\r\nmpmenu3.addItem(new mMenuItem('&nbsp;告警模块','/SoftSchool/Index.Asp?CateID=2','self',false,'告警模块',null,'','','',''));\r\nmpmenu3.addItem(new mMenuItem('&nbsp;交接班模块','/SoftSchool/Index.Asp?CateID=3','self',false,'交接班模块',null,'','','',''));\r\nmpmenu3.addItem(new mMenuItem('&nbsp;派修单管理','/SoftSchool/Index.Asp?CateID=4','self',false,'派修单管理',null,'','','',''));\r\nmpmenu3.addItem(new mMenuItem('&nbsp;数据查询','/SoftSchool/Index.Asp?CateID=5','self',false,'数据查询',null,'','','',''));\r\nmpmenu3.addItem(new mMenuItem('&nbsp;统计图表','/SoftSchool/Index.Asp?CateID=6','self',false,'统计图表',null,'','','',''));\r\nmpmenu3.addItem(new mMenuItem('&nbsp;设备管理','/SoftSchool/Index.Asp?CateID=7','self',false,'设备管理',null,'','','',''));\r\nmpmenu3.addItem(new mMenuItem('&nbsp;自动控制设置','/SoftSchool/Index.asp?order=hits&updown=desc','self',false,'自动控制设置',null,'','','',''));\r\nmpmenu4=new mMenu('辅助功能&nbsp;','/Develop/','self','','','','');\r\nmpmenu4.addItem(new mMenuItem('&nbsp;操作日志','/Develop/Index.Asp?CateID=1','self',false,'操作日志',null,'','','',''));\r\n");
      out.write("mpmenu4.addItem(new mMenuItem('&nbsp;获取配置数据','/Develop/Index.Asp?CateID=10','self',false,'获取配置数据',null,'','','',''));\r\nmpmenu4.addItem(new mMenuItem('&nbsp;屏幕打印','/Develop/Index.Asp?CateID=2','self',false,'屏幕打印',null,'','','',''));\r\nmpmenu5=new mMenu('窗口&nbsp;','/Lunwen/','self','','','','');\r\nmpmenu5.addItem(new mMenuItem('&nbsp;层叠','/Lunwen/Index.Asp?CateID=1','self',false,'层叠',null,'','','',''));\r\nmpmenu5.addItem(new mMenuItem('&nbsp;水平平铺','/Lunwen/Index.Asp?CateID=2','self',false,'教学管理',null,'','','',''));\r\nmpmenu5.addItem(new mMenuItem('&nbsp;垂直平铺','/Lunwen/Index.Asp?CateID=3','self',false,'探索研究',null,'','','',''));\r\nmpmenu6=new mMenu('帮助','/bbs/','self','','','','');\r\nmpmenu6.addItem(new mMenuItem('&nbsp;功能指南','/Lunwen/Index.Asp?CateID=3','self',false,'功能指南',null,'','','',''));\r\n\r\nmwritetodocument();\r\n</script>\r\n<span class=\"style2\"></span>\r\n</body>\r\n\r\n</html>\r\n\r\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 + -