熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> Java編程 >> JSP教程 >> 正文

JS特效代碼--下拉透明菜單

2013-11-15 12:06:52  來源: JSP教程 

  <script language="JavaScript">

  var mmenus = new Array();
var misShow = new Boolean(); 
misShow=false;
var misdown = new Boolean();
misdown=false;
var mnumberofsub=;
var musestatus=false;
var mpopTimer = ;
mmenucolor=#CB;mfontcolor=MenuText;mmenuoutcolor=#ADEF;mmenuincolor=#BEE;mmenuoutbordercolor=#ECFAA;

  mmenuinbordercolor=#A;mmidoutcolor=#ADAD;mmidincolor=#;mmenuovercolor=#;mitemedge=;msubedge=;

  mmenuunitwidth=;mmenuitemwidth=;mmenuheight=;mmenuwidth=%;mmenuadjust=;mmenuadjustV=;mfonts=fontfamily: 宋體; fontsize: pt; color: MenuText; ;mcursor=hand;
var swipeSteps = ;
var swipemsec = ;
var swipeArray = new Array();
function swipe(el dir steps msec) {
 if (steps == null) steps = swipeSteps;
 if (msec == null) msec = swipemsec;
 if (elswipeIndex == null)
 elswipeIndex = swipeArraylength;
 if (elswipeTimer != null)
 windowclearTimeout(elswipeTimer);
 swipeArray[elswipeIndex] = el;
 elstyleclip = "rect( )";
 if (elswipeCounter == null || elswipeCounter == ) {
 elorgLeft = eloffsetLeft;
 elorgTop = eloffsetTop;
 elorgWidth = eloffsetWidth;
 elorgHeight = eloffsetHeight;
 }
 elswipeCounter = steps;
 elstyleclip = "rect()";
 windowsetTimeout("repeat(" + dir + "" + elswipeIndex + "" + steps + "" + msec + ")" msec);
}
function repeat(dir index steps msec) {
 el = swipeArray[index];
 var left = elorgLeft;
 var top = elorgTop;
 var width = elorgWidth;
 var height = elorgHeight;
 if (elswipeCounter == ) {
 elstyleclip = "rect( )";
 return;
 }
 else {
 elswipeCounter;
 elstylevisibility = "visible";
 switch (dir) {
 case :
 elstyleclip = "rect(" + height*elswipeCounter/steps + "" + width + "" + height + "" + + ")";
 elstyletop = top height*elswipeCounter/steps;
 break;
 case :
 elstyleclip = "rect(" + + "" + width + "" + height*(stepselswipeCounter)/steps + "" + + ")";
 elstyletop = top + height*elswipeCounter/steps;
 break;
 case :
 elstyleclip = "rect(" + + "" + width + "" + height + "" + width*(elswipeCounter)/steps + ")";
 elstyleleft = left width*elswipeCounter/steps;
 break;
 case :
 elstyleclip = "rect(" + + "" + width*(swipeSteps elswipeCounter)/steps + "" + height + "" + + ")";
 elstyleleft = left + width*elswipeCounter/steps;
 break;
 }
 
 elswipeTimer = windowsetTimeout("repeat(" + dir + "" + index + "" + steps + "" + msec + ")" msec);
 }
}
var mtmpleft="";
var mtmptop="";
function hideSwipe(el) {
 windowclearTimeout(elswipeTimer);
 elstylevisibility = "hidden";
 elstyleclip = "rect( )";
 elswipeCounter = ;
 if(mtmpleft!="")elstyleleft = mtmpleft;
 if(mtmptop!="")elstyletop = mtmptop;
}

  function stoperror(){
return true;
}
windowonerror=stoperror;
function mpopOut() {
mpopTimer = setTimeout(mallhide() );
}
function getReal(el type value) {
 temp = el;
 while ((temp != null) && (temptagName != "BODY")) {
 if (eval("temp" + type) == value) {
 el = temp;
 return el;
 }
 temp = tempparentElement;
 }
 return el;
}

  function mMenuRegister(menu) 
{
 mmenus[mmenuslength] = menu
 return (mmenuslength )
}

  function mMenuItem(captioncommandtargetislinestatustxtlevelimgsizexsizeypos){
 thisitems = new Array();
 thiscaption=caption;
 thiscommand=command;
 thistarget=target;
 thisisline=isline;
 thisstatustxt=statustxt;
 if(level!=null){mnumberofsub++;
 thishasc=mnumberofsub;}
 thislevel=level;
 thisimg=img;
 thissizex=sizex;
 thissizey=sizey;
 thispos=pos;
}

  function mMenu(captioncommandtargetimgsizexsizeypos){
 thisitems = new Array();
 thiscaption=caption;
 thiscommand=command;
 thistarget=target;
 thisimg=img;
 thissizex=sizex;
 thissizey=sizey;
 thispos=pos;
 thisid=mMenuRegister(this);
}
function mMenuAddItem(item)
{
 thisitems[thisitemslength] = item
 itemparent = thisid;
 thischildren=true;
}

  mMenuprototypeaddItem = mMenuAddItem;
mMenuItemprototypeaddsubItem = mMenuAddItem;

  function mtoout(src){

  srcstyleborderLeftColor=mmenuoutbordercolor;
srcstyleborderRightColor=mmenuinbordercolor;
srcstyleborderTopColor=mmenuoutbordercolor;
srcstyleborderBottomColor=mmenuinbordercolor;
srcstylebackgroundColor=mmenuoutcolor;
srcstylecolor=mmenuovercolor;
}
function mtoin(src){

  srcstyleborderLeftColor=mmenuinbordercolor;
srcstyleborderRightColor=mmenuoutbordercolor;
srcstyleborderTopColor=mmenuinbordercolor;
srcstyleborderBottomColor=mmenuoutbordercolor;
srcstylebackgroundColor=mmenuincolor;
srcstylecolor=mmenuovercolor;
}
function mnochange(src){
srcstyleborderLeftColor=mmenucolor;
srcstyleborderRightColor=mmenucolor;
srcstyleborderTopColor=mmenucolor;
srcstyleborderBottomColor=mmenucolor;
srcstylebackgroundColor=;
srcstylecolor=mfontcolor;

  }
function mallhide(){
 for(var nummenu=;nummenu<mmenuslength;nummenu++){
 var themenu=documentall[mMenu+nummenu]
 var themenudiv=documentall[mmenudiv+nummenu]
 mnochange(themenu);
 mmenuhide(themenudiv);
 }
 for(nummenu=;nummenu<=mnumberofsub;nummenu++){ 
 var thesub=documentall[msubmenudiv+nummenu] 
 msubmenuhide(thesub);
 mnochange(documentall[mp+nummenu]);
 documentall["mitem"+nummenu]stylecolor=mfontcolor;
 }
}
function mmenuhide(menuid){
menuidstylefilter=Alpha(Opacity=);
hideSwipe(menuid);
misShow=false;
}
function msubmenuhide(menuid){
menuidstylefilter=Alpha(Opacity=);
menuidstylevisibility=hidden;
}
function mmenushow(menuidpid){
menuidstylefilter=Alpha(Opacity=);
menuidstyleleft=mposflagoffsetLeft+pidoffsetLeft+mmenuadjust;menuidstyletop=mposflagoffsetTop+mmenutableoffsetHeight+mmenuadjustV;
if(mmenuitemwidth+parseInt(menuidstyleleft)>documentbodyclientWidth+documentbodyscrollLeft)
menuidstyleleft=documentbodyclientWidth+documentbodyscrollLeftmmenuitemwidth;
mtmpleft=menuidstyleleft;mtmptop=menuidstyletop;swipe(menuid);
misShow=true;
}
function mshowsubmenu(menuidpidrid){
menuidstylefilter=Alpha(Opacity=);
menuidstyleleft=pidoffsetWidth+ridoffsetLeft;
menuidstyletop=pidoffsetTop+ridoffsetTop;
if(mmenuitemwidth+parseInt(menuidstyleleft)>documentbodyclientWidth+documentbodyscrollLeft)
menuidstyleleft=documentbodyclientWidth+documentbodyscrollLeftmmenuitemwidth;
menuidstylevisibility=visible;
}
function mmenu_over(menuidx){
toel = getReal(windoweventtoElement "className" "coolButton");
fromel = getReal(windoweventfromElement "className" "coolButton");
if (toel == fromel) return;
if(x<){
 misShow = false;
 mallhide();
 mtoout(eval("mMenu"+x));
}else{

  mallhide();
 mtoin(eval("mMenu"+x));
 mmenushow(menuideval("mMenu"+x));

  }
clearTimeout(mpopTimer);
}
function mmenu_out(x){
toel = getReal(windoweventtoElement "className" "coolButton");
fromel = getReal(windoweventfromElement "className" "coolButton");
if (toel == fromel) return;
if (misShow){
mtoin(eval("mMenu"+x));
}else{
mnochange(eval("mMenu"+x));
}
mpopOut()
}
function mmenu_down(menuidx){
 if(misShow){
 mmenuhide(menuid);
 mtoout(eval("mMenu"+x));
 }
 else{
 mtoin(eval("mMenu"+x));
 mmenushow(menuideval("mMenu"+x));
 misdown=true;
 }
}
function mmenu_up(){
 misdown=false;
}
function mmenuitem_over(menuiditemxji){
toel = getReal(windoweventtoElement "className" "coolButton");
fromel = getReal(windoweventfromElement "className" "coolButton");
if (toel == fromel) return;
srcel = getReal(windoweventsrcElement "className" "coolButton");
 for(nummenu=;nummenu<=mnumberofsub;nummenu++){ 
 var thesub=documentall[msubmenudiv+nummenu] 
 if(!(menuid==thesub||menuidstyletag>=thesubstyletag)){
 msubmenuhide(thesub);
 mnochange(documentall[mp+nummenu]);
 documentall["mitem"+nummenu]stylecolor=mfontcolor;
 }
 }
if(item)documentall["mitem"+item]stylecolor=mmenuovercolor;
if(misdown||item){
 mtoin(srcel);
}
else{
 mtoout(srcel);
}
if(x==)mthestatus=eval("msub"+j)items[i]statustxt;
if(j==)mthestatus=mmenus[x]items[i]statustxt;
if(mthestatus!=""){
 musestatus=true;
 windowstatus=mthestatus;
}
clearTimeout(mpopTimer);
}
function mmenuitem_out(hassub){
toel = getReal(windoweventtoElement "className" "coolButton");
fromel = getReal(windoweventfromElement "className" "coolButton");
if (toel == fromel) return;
srcel = getReal(windoweventsrcElement "className" "coolButton");
if(!hassub)mnochange(srcel);
if(musestatus)windowstatus="";
mpopOut()
}
function mmenuitem_down(){
srcel = getReal(windoweventsrcElement "className" "coolButton");
mtoin(srcel)
misdown=true;
}
function mmenuitem_up(){
srcel = getReal(windoweventsrcElement "className" "coolButton");
mtoout(srcel)
misdown=false;
}
function mexec(ji){
var cmd;
if(eval("msub"+j)items[i]target=="blank"){
 cmd = "windowopen("+eval("msub"+j)items[i]command+")";
}else{
 cmd = eval("msub"+j)items[i]target+"location=""+eval("msub"+j)items[i]command+""";
}
eval(cmd);
}
function mexec(x){
var cmd;
if(mmenus[x]target=="blank"){
 cmd = "windowopen("+mmenus[x]command+")";
}else{
 cmd = mmenus[x]target+"location=""+mmenus[x]command+""";
}
eval(cmd);
}
function mexec(xi){
var cmd;
if(mmenus[x]items[i]target=="blank"){
 cmd = "windowopen("+mmenus[x]items[i]command+")";
}else{
 cmd = mmenus[x]items[i]target+"location=""+mmenus[x]items[i]command+""";
}
eval(cmd);
}
function mbody_click(){

  if (misShow){
 srcel = getReal(windoweventsrcElement "className" "coolButton");
 for(var x=;x<=mmenuslength;x++){
 if(srcelid=="mMenu"+x)
 return;
 }
 for(x=;x<=mnumberofsub;x++){
 if(srcelid=="mp"+x)
 return;
 }
 mallhide();
}
}
documentonclick=mbody_click;

  function mwritetodocument(){
 var mwb=;
 var stringx=<div id="mposflag" style="position:absolute;"></div><table id=mmenutable border= cellpadding= cellspacing= width=+mmenuwidth+ height=+mmenuheight+ bgcolor=+mmenucolor+
  onselectstart="eventreturnValue=false"+
  style="filter:Alpha(Opacity=);cursor:+mcursor+;+mfonts+
  borderleft: +mwb+px solid +mmenuoutbordercolor+;+
  borderright: +mwb+px solid +mmenuinbordercolor+; +
 bordertop: +mwb+px solid +mmenuoutbordercolor+; +
 borderbottom: +mwb+px solid +mmenuinbordercolor+; padding:px"><tr>
 for(var x=;x<mmenuslength;x++){
 var thismenu=mmenus[x];
 var imgsize="";
 if(thismenusizex!=""||thismenusizey!="")imgsize=" width="+thismenusizex+" height="+thismenusizey;
 var ifspace="";
 if(thismenucaption!="")ifspace=" ";
 stringx += "<td nowrap class=coolButton id=mMenu"+x+" style=border: "+mitemedge+"px solid "+mmenucolor+
 " width="+mmenuunitwidth+"px onmouseover=mmenu_over(mmenudiv"+x+
 ""+x+") onmouseout=mmenu_out("+x+
 ") onmousedown=mmenu_down(mmenudiv"+x+""+x+")";
 if(thismenucommand!=""){
 stringx += " onmouseup=mmenu_up();mexec("+x+");";
 }else{
 stringx += " onmouseup=mmenu_up()";
 }
 if(thismenupos==""){
 stringx += " align=center><img align=absmiddle src="+thismenuimg+""+imgsize+">"+ifspace+thismenucaption+"</td>"; 
 }else if(thismenupos==""){
 stringx += " align=center>"+thismenucaption+ifspace+"<img align=absmiddle src="+thismenuimg+""+imgsize+"></td>"; 
 }else if(thismenupos==""){
 stringx += " align=center background="+thismenuimg+"> "+thismenucaption+" </td>"; 
 }else{
 stringx += " align=center> "+thismenucaption+" </td>";
 }
 stringx += "";
 }
 stringx+="<td width=*> </td></tr></table>";
 
 
 for(var x=;x<mmenuslength;x++){
 thismenu=mmenus[x];
 if(x<){
 stringx+=<div id=mmenudiv+x+ style="visiable:none"></div>;
 }else{
 stringx+=<div id=mmenudiv+x+
  style="filter:Alpha(Opacity=);cursor:+mcursor+;position:absolute;+
 width:+mmenuitemwidth+px; zindex:+(x+);
 if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge==""){
 stringx+=;borderleft: px solid +mmidoutcolor+
 ;bordertop: px solid +mmidoutcolor;}
 stringx+=;borderright: px solid +mmenuinbordercolor+
 ;borderbottom: px solid +mmenuinbordercolor+;visibility:hidden" onselectstart="eventreturnValue=false">n+
 <table width="%" border="" height="%" align="center" cellpadding="" cellspacing="" +
 style="+mfonts+ borderleft: px solid +mmenuoutbordercolor;
 if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge==""){
 stringx+=;borderright: px solid +mmidincolor+
 ;borderbottom: px solid +mmidincolor;}
 stringx+=;bordertop: px solid +mmenuoutbordercolor+
 ;padding: px" bgcolor=+mmenucolor+>n
 for(var i=;i<thismenuitemslength;i++){
 var thismenuitem=thismenuitems[i];
 var imgsize="";
 if(thismenuitemsizex!=""||thismenuitemsizey!="")imgsize=" width="+thismenuitemsizex+" height="+thismenuitemsizey;
 var ifspace="";
 if(thismenucaption!="")ifspace=" ";
 if(thismenuitemhasc!=null){
 stringx += "<tr><td id=mp"+thismenuitemhasc+" class=coolButton style=border: "+mitemedge+"px solid "+mmenucolor+
 " width=% onmouseout=mmenuitem_out(true) onmouseover="mmenuitem_over(mmenudiv"+x+
 ""+thismenuitemhasc+""+x+""+i+");mshowsubmenu(msubmenudiv"+thismenuitemhasc+"mp"+thismenuitemhasc+"mmenudiv"+x+");""+
 "><table id=mitem"+thismenuitemhasc+" cellspacing= cellpadding= border= width=% style="+mfonts+"><tr><td ";
 if(thismenuitempos==""){
 stringx += "><img align=absmiddle src="+thismenuitemimg+""+imgsize+">"+ifspace+thismenuitemcaption+"</td><td"; 
 }else if(thismenuitempos==""){
 stringx += ">"+thismenuitemcaption+ifspace+"<img align=absmiddle src="+thismenuitemimg+""+imgsize+"></td><td";
 }else if(thismenuitempos==""){
 stringx += "background="+thismenuitemimg+">"+thismenuitemcaption+"</td><td background="+thismenuitemimg+""; 
 }else{
 stringx += ">"+thismenuitemcaption+"</td><td";
 }
 stringx += " align=right width=><font face=Webdings style=fontsize: pt></font></td></tr></table></td></tr>n"; 
 }else if(!thismenuitemisline){
 stringx += "<tr><td class=coolButton style=border: "+mitemedge+"px solid "+mmenucolor+
 " width=% height=px onmouseover="mmenuitem_over(mmenudiv"+x+
 "false"+x+""+i+");" onmouseout=mmenuitem_out() onmousedown=mmenuitem_down() onmouseup=";
 stringx += "mmenuitem_up();mexec("+x+""+i+"); ";
 if(thismenuitempos==""){
 stringx += "><img align=absmiddle src="+thismenuitemimg+""+imgsize+">"+ifspace+thismenuitemcaption+"</td></tr>"; 
 }else if(thismenuitempos==""){
 stringx += ">"+thismenuitemcaption+ifspace+"<img align=absmiddle src="+thismenuitemimg+""+imgsize+"></td></tr>"; 
 }else if(thismenuitempos==""){
 stringx += "background="+thismenuitemimg+">"+thismenuitemcaption+"</td></tr>"; 
 }else{
 stringx += ">"+thismenuitemcaption+"</td></tr>";
 }
 }else{
 stringx+=<tr><td height="" background="/images/hrgif" onmousemove="clearTimeout(mpopTimer);"><img height="" width="" src="nonegif" border=""></td></tr>n;
 }
 }stringx+=</table>n</div>
 } 
 }
 
for(var j=;j<=mnumberofsub;j++){ 
thisitem=eval("msub"+j);
stringx+=<div id=msubmenudiv+j+
  style="filter:Alpha(Opacity=);tag:+thisitemlevel+;cursor:+mcursor+;position:absolute;+
 width:+mmenuitemwidth+px; zindex:+(j+);
 if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge==""){
 stringx+=;borderleft: px solid +mmidoutcolor+
 ;bordertop: px solid +mmidoutcolor;}
 stringx+=;borderright: px solid +mmenuinbordercolor+
 ;borderbottom: px solid +mmenuinbordercolor+;visibility:hidden" onselectstart="eventreturnValue=false">n+
 <table width="%" border="" height="%" align="center" cellpadding="" cellspacing="" +
 style="+mfonts+ borderleft: px solid +mmenuoutbordercolor;
 if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge==""){
 stringx+=;borderright: px solid +mmidincolor+
 ;borderbottom: px solid +mmidincolor;}
 stringx+=;bordertop: px solid +mmenuoutbordercolor+
 ;padding: px" bgcolor=+mmenucolor+>n
 for(var i=;i<thisitemitemslength;i++){
 var thismenuitem=thisitemitems[i];
 var imgsize="";
 if(thismenuitemsizex!=""||thismenuitemsizey!="")imgsize=" width="+thismenuitemsizex+" height="+thismenuitemsizey;
 var ifspace="";
 if(thismenucaption!="")ifspace=" ";
 if(thismenuitemhasc!=null){
 stringx += "<tr><td id=mp"+thismenuitemhasc+" class=coolButton style=border: "+mitemedge+"px solid "+mmenucolor+
 " width=% onmouseout=mmenuitem_out(true) onmouseover="mmenuitem_over(msubmenudiv"+j+
 ""+thismenuitemhasc+""+j+""+i+");mshowsubmenu(msubmenudiv"+thismenuitemhasc+"mp"+thismenuitemhasc+"msubmenudiv"+j+");""+
 "><table id=mitem"+thismenuitemhasc+" cellspacing= cellpadding= border= width=% style="+mfonts+"><tr><td ";
 if(thismenuitempos==""){
 stringx += "><img align=absmiddle src="+thismenuitemimg+""+imgsize+">"+ifspace+thismenuitemcaption+"</td><td"; 
 }else if(thismenuitempos==""){
 stringx += ">"+thismenuitemcaption+ifspace+"<img align=absmiddle src="+thismenuitemimg+""+imgsize+"></td><td";
 }else if(thismenuitempos==""){
 stringx += "background="+thismenuitemimg+">"+thismenuitemcaption+"</td><td background="+thismenuitemimg+""; 
 }else{
 stringx += ">"+thismenuitemcaption+"</td><td";
 }
 stringx += " align=right width=><font face=Webdings style=fontsize: pt></font></td></tr></table></td></tr>n"; 
 }else if(!thismenuitemisline){
 stringx += "<tr><td class=coolButton style=border: "+mitemedge+"px solid "+mmenucolor+
 " width=% height=px onmouseover="mmenuitem_over(msubmenudiv"+j+
 "false"+j+""+i+");" onmouseout=mmenuitem_out() onmousedown=mmenuitem_down() onmouseup=";
 stringx += "mmenuitem_up();mexec("+j+""+i+"); ";
 if(thismenuitempos==""){
 stringx += "><img align=absmiddle src="+thismenuitemimg+""+imgsize+">"+ifspace+thismenuitemcaption+"</td></tr>"; 
 }else if(thismenuitempos==""){
 stringx += ">"+thismenuitemcaption+ifspace+"<img align=absmiddle src="+thismenuitemimg+""+imgsize+"></td></tr>"; 
 }else if(thismenuitempos==""){
 stringx += "background="+thismenuitemimg+">"+thismenuitemcaption+"</td></tr>"; 
 }else{
 stringx += ">"+thismenuitemcaption+"</td></tr>";
 }
 }else{
 stringx+=<tr><td height="" background="/images/hrgif" onmousemove="clearTimeout(mpopTimer);"><img height="" width="" src="nonegif" border=""></td></tr>n;
 }
 }
stringx+=</table>n</div>
}
 documentwrite("<div align=center id=JsMenuCSS>"+stringx+"</div>");
}

  mpmenu=new mMenu(網站首頁/self);
mpmenuaddItem(new mMenuItem( 用戶注冊/registeraspselffalse用戶注冊null));
mpmenuaddItem(new mMenuItem( 用戶登錄/loginaspselffalse用戶登錄null));
mpmenuaddItem(new mMenuItem( 用戶退出/loginasp?action=logoutselffalse用戶退出null));
mpmenuaddItem(new mMenuItem( 資料修改/bbs/MYMODIFYASPselffalsenull));
mpmenu=new mMenu(軟件下載/SoftDown/self);
mpmenuaddItem(new mMenuItem( 系統程序/softdown/indexasp?CateID=selffalse系統程序null));
mpmenuaddItem(new mMenuItem( 網絡工具/softdown/indexasp?CateID=selffalse網絡工具null));
mpmenuaddItem(new mMenuItem( 媒體工具/softdown/indexasp?CateID=selffalse媒體工具null));
mpmenuaddItem(new mMenuItem( 圖文處理/softdown/indexasp?CateID=selffalse圖文處理null));
mpmenuaddItem(new mMenuItem( 桌面工具/softdown/indexasp?CateID=selffalse桌面工具null));
mpmenuaddItem(new mMenuItem( 程序代碼/softdown/indexasp?CateID=selffalse程序代碼null));
mpmenuaddItem(new mMenuItem( 游戲娛樂/softdown/indexasp?CateID=selffalse游戲娛樂null));
mpmenuaddItem(new mMenuItem( 其他工具/softdown/indexasp?CateID=selffalse其他工具null));
mpmenuaddItem(new mMenuItem( 特別欄目/softdown/indexasp?CateID=selffalse特別欄目null));
mpmenuaddItem(new mMenuItem(nullnullnulltrue));
mpmenuaddItem(new mMenuItem( 下載排行/SoftDown/Indexasp?order=AllHits&updown=descselffalse軟件下載排行榜null));
mpmenu=new mMenu(軟件學院/SoftSchool/self);
mpmenuaddItem(new mMenuItem( 軟件瞭望/SoftSchool/IndexAsp?CateID=selffalse軟件瞭望null));
mpmenuaddItem(new mMenuItem( 精文荟萃/SoftSchool/IndexAsp?CateID=selffalse精文荟萃null));
mpmenuaddItem(new mMenuItem( 操作系統/SoftSchool/IndexAsp?CateID=selffalse操作系統null));
mpmenuaddItem(new mMenuItem( 網絡軟件/SoftSchool/IndexAsp?CateID=selffalse網絡軟件null));
mpmenuaddItem(new mMenuItem( 工具軟件/SoftSchool/IndexAsp?CateID=selffalse工具軟件null));
mpmenuaddItem(new mMenuItem( 辦公軟件/SoftSchool/IndexAsp?CateID=selffalse辦公軟件null));
mpmenuaddItem(new mMenuItem( 認證考試/SoftSchool/IndexAsp?CateID=selffalse認證考試null));
mpmenuaddItem(new mMenuItem(nullnullnulltrue));
mpmenuaddItem(new mMenuItem( 閱讀排行/SoftSchool/Indexasp?order=hits&updown=descselffalse文章閱讀排行榜null));
mpmenu=new mMenu(Web 開發/Develop/self);
mpmenuaddItem(new mMenuItem( 網頁設計/Develop/IndexAsp?CateID=selffalse網頁設計null));
mpmenuaddItem(new mMenuItem( Net專欄/Develop/IndexAsp?CateID=selffalseNet專欄null));
mpmenuaddItem(new mMenuItem( ASP 學院/Develop/IndexAsp?CateID=selffalseASP 學院null));
mpmenuaddItem(new mMenuItem( JSP 學院/Develop/IndexAsp?CateID=selffalseJSP 學院null));
mpmenuaddItem(new mMenuItem( PHP 學院/Develop/IndexAsp?CateID=selffalsePHP 學院null));
mpmenuaddItem(new mMenuItem( CGI 學院/Develop/IndexAsp?CateID=selffalseCGI 學院null));
mpmenuaddItem(new mMenuItem( SQL 學院/Develop/IndexAsp?CateID=selffalseSQL 學院null));
mpmenuaddItem(new mMenuItem( XML 學院/Develop/IndexAsp?CateID=selffalseXML 學院null));
mpmenuaddItem(new mMenuItem( Script/Develop/IndexAsp?CateID=selffalseScriptnull));
mpmenuaddItem(new mMenuItem( Web服務器/Develop/IndexAsp?CateID=selffalseWeb服務器null));
mpmenuaddItem(new mMenuItem(nullnullnulltrue));
mpmenuaddItem(new mMenuItem( 閱讀排行/Develop/Indexasp?order=hits&updown=descselffalse文章閱讀排行榜null));
mpmenu=new mMenu(教育論文/Lunwen/self);
mpmenuaddItem(new mMenuItem( 學科教學/Lunwen/IndexAsp?CateID=selffalse學科教學null));
mpmenuaddItem(new mMenuItem( 教學管理/Lunwen/IndexAsp?CateID=selffalse教學管理null));
mpmenuaddItem(new mMenuItem( 探索研究/Lunwen/IndexAsp?CateID=selffalse探索研究null));
mpmenuaddItem(new mMenuItem( 名校名師/Lunwen/IndexAsp?CateID=selffalse名校名師null));
mpmenuaddItem(new mMenuItem(nullnullnulltrue));
mpmenuaddItem(new mMenuItem( 閱讀排行/Lunwen/Indexasp?order=hits&updown=descselffalse文章閱讀排行榜null));
mpmenu=new mMenu(精彩論壇/bbs/self);
msub=new mMenuItem( ≡日常事務≡selffalse);
msubaddsubItem(new mMenuItem( 站務論壇/bbs/listasp?boardid=selffalse關於本站的日常或其他事務的討論區null));
msubaddsubItem(new mMenuItem( FTP和會員服務區/bbs/listasp?boardid=selffalse本站FTP的使用以及會員們討論論壇建設的好地方null));
msubaddsubItem(new mMenuItem( 需求與補檔/bbs/listasp?boardid=selffalse大家需要什麼都在這裡發貼其他版面不允許發布此類帖子違者刪貼null));
mpmenuaddItem(msub);
mpmenuaddItem(new mMenuItem(nullnullnulltrue));
msub=new mMenuItem( ≡軟件交流≡selffalse);
msubaddsubItem(new mMenuItem( 軟件討論中心/bbs/listasp?boardid=selffalse這裡是軟件交流天地我要最新的軟件我要最好的注冊null));
msubaddsubItem(new mMenuItem( 操作系統論壇/bbs/listasp?boardid=selffalse各種操作系統的最新消息使用心得體會交流null));
msubaddsubItem(new mMenuItem( 影音無極限/bbs/listasp?boardid=selffalse這裡提供最新最清晰的DivX 這裡發布最勁最High的音樂 想把握最新的娛樂動態?盡在動感!null));
msubaddsubItem(new mMenuItem( 游民家園/bbs/listasp?boardid=selffalse游民家園null));
mpmenuaddItem(msub);
mpmenuaddItem(new mMenuItem(nullnullnulltrue));
msub=new mMenuItem( ≡技術交流≡selffalse);
msubaddsubItem(new mMenuItem( 菜鳥天堂/bbs/listasp?boardid=selffalse討論網絡技術關注網絡安全網絡的加油站null));
msubaddsubItem(new mMenuItem( 網絡技術和安全/bbs/listasp?boardid=selffalse討論網絡技術關注網絡安全網絡的加油站null));
msubaddsubItem(new mMenuItem( 編程愛好者論壇/bbs/listasp?boardid=selffalse各種編程語言多媒體知識的交流園地null));
msubaddsubItem(new mMenuItem( 硬件討論區/bbs/listasp?boardid=selffalse討論有關計算機硬件的論壇null));
msubaddsubItem(new mMenuItem( 新硬件大看台/bbs/listasp?boardid=selffalse精——只介紹討論最新最酷的硬件產品null));
mpmenuaddItem(msub);
mpmenuaddItem(new mMenuItem(nullnullnulltrue));
msub=new mMenuItem( ≡網友空間≡selffalse);
msubaddsubItem(new mMenuItem( 情感驿站/bbs/listasp?boardid=selffalse男孩女孩愛情友情人類永恆的話題null));
msubaddsubItem(new mMenuItem( 搞笑論壇/bbs/listasp?boardid=selffalse專門張貼笑話和小小說的經典對白搞笑圖片你也可以進來和我們一起參與哦null));
msubaddsubItem(new mMenuItem( 貼圖專區/bbs/listasp?boardid=selffalse精彩的圖片貼在這裡好笑的漂亮的令人回味的null));
msubaddsubItem(new mMenuItem( 超級灌水/bbs/listasp?boardid=selffalse超級灌水null));
mpmenuaddItem(msub);
mpmenuaddItem(new mMenuItem(nullnullnulltrue));
mpmenuaddItem(new mMenuItem( 短消息/bbs/usersmsaspselffalse用戶短消息null));
mpmenuaddItem(new mMenuItem( 收藏夾/bbs/favlistaspselffalsenull));
mpmenuaddItem(new mMenuItem( 論壇搜索/bbs/queryasp?boardid=selffalse論壇搜索null));
mpmenuaddItem(new mMenuItem( 論壇幫助/bbs/helpaspblankfalse論壇幫助null));
mpmenuaddItem(new mMenuItem( 修改資料/bbs/MYMODIFYASPselffalse修改資料null));
mpmenuaddItem(new mMenuItem(nullnullnulltrue));
mpmenuaddItem(new mMenuItem( FTP 聯盟/Club/ftp/selffalseFTP 聯盟null));
mpmenu=new mMenu(動感社區self);
mpmenuaddItem(new mMenuItem( 社區銀行/club/bank/Indexaspselffalsee 時代銀行null));
mpmenuaddItem(new mMenuItem( 社區賽馬/club/saima/horseaspselffalse賽馬null));
mpmenuaddItem(new mMenuItem( 社區排行榜/iBest/UserBestaspselffalse社區排行榜null));
mpmenu=new mMenu(知識問答/iiTest/self);
mpmenuaddItem(new mMenuItem( 歷史知識/iiTest/IndexAsp?CateID=selffalse歷史知識null));
mpmenuaddItem(new mMenuItem( 電腦知識/iiTest/IndexAsp?CateID=selffalse電腦知識null));
mpmenuaddItem(new mMenuItem( 文學知識/iiTest/IndexAsp?CateID=selffalse文學知識null));
mpmenuaddItem(new mMenuItem( 游戲知識/iiTest/IndexAsp?CateID=selffalse游戲知識null));
mpmenuaddItem(new mMenuItem( 動漫知識/iiTest/IndexAsp?CateID=selffalse動漫知識null));
mpmenuaddItem(new mMenuItem( 天文地理/iiTest/IndexAsp?CateID=selffalse天文地理null));
mpmenuaddItem(new mMenuItem( 樂趣英語/iiTest/IndexAsp?CateID=selffalse樂趣英語null));
mpmenuaddItem(new mMenuItem( 體育知識/iiTest/IndexAsp?CateID=selffalse體育知識null));
mpmenu=new mMenu(站點服務self);
mpmenuaddItem(new mMenuItem( 免費郵箱/WebMail/selffalsenull));
mpmenuaddItem(new mMenuItem( 免費留言簿/GuestBook/selffalsenull));
mpmenu=new mMenu(軟件超市self);
mpmenuaddItem(new mMenuItem( 互聯網工具/SoftMarket/IndexAsp?CateID=selffalse互聯網工具null));
mpmenuaddItem(new mMenuItem( 常用工具/SoftMarket/IndexAsp?CateID=selffalse常用工具null));
mpmenuaddItem(new mMenuItem( 辦公與家庭/SoftMarket/IndexAsp?CateID=selffalse辦公與家庭null));
mpmenuaddItem(new mMenuItem( 系統工具/SoftMarket/IndexAsp?CateID=selffalse系統工具null));
mpmenuaddItem(new mMenuItem( 多媒體軟件/SoftMarket/IndexAsp?CateID=selffalse多媒體軟件null));
mpmenuaddItem(new mMenuItem( 設計與制作/SoftMarket/IndexAsp?CateID=selffalse設計與制作null));
mpmenuaddItem(new mMenuItem( 游戲與娛樂/SoftMarket/IndexAsp?CateID=selffalse游戲與娛樂null));
mpmenuaddItem(new mMenuItem( 行業軟件/SoftMarket/IndexAsp?CateID=selffalse行業軟件null));
mpmenuaddItem(new mMenuItem( 編程與開發/SoftMarket/IndexAsp?CateID=selffalse編程與開發null));
mpmenuaddItem(new mMenuItem( 桌面風采/SoftMarket/IndexAsp?CateID=selffalse桌面風采null));
mpmenuaddItem(new mMenuItem( 硬件驅動/SoftMarket/IndexAsp?CateID=selffalse硬件驅動null));
mpmenuaddItem(new mMenuItem( 其它軟件/SoftMarket/IndexAsp?CateID=selffalse其它軟件null));
mpmenuaddItem(new mMenuItem(nullnullnulltrue));
mpmenuaddItem(new mMenuItem( 幫助(?)/SoftMarket/faqaspselffalse系統幫助null));

  mwritetodocument();
</script>


From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20312.html
    推薦文章
    Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.