BBS(php&mysql)完整版(五)
2023-06-13 09:13:43 时间
//下面为menu_comment.js
functionfwLoadMenus(){
if(window.fw_menu_0)return;
window.fw_menu_0=newMenu("root",92,20,"Verdana,Arial,Helvetica,sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
fw_menu_0.addMenuItem("Javascript","window.open("left.php","_self");");
fw_menu_0.addMenuItem("Css快速入门","window.open("left.php","_self");");
fw_menu_0.addMenuItem("JS在线资源","window.open("left.php","_self");");
fw_menu_0.addMenuItem("相关论坛","window.open("php3.php?part=4&&p=1","_self");");
fw_menu_0.fontWeight="solid";
fw_menu_0.hideOnMouseOut=true;
window.fw_menu_1=newMenu("root",92,20,"Verdana,Arial,Helvetica,sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
fw_menu_1.addMenuItem("Dreamwaver","window.open("left.php","_self");");
fw_menu_1.addMenuItem("Firework","window.open("left.php","_self");");
fw_menu_1.addMenuItem("Flash入门","window.open("left.php","_self");");
fw_menu_1.addMenuItem("Html教程","window.open("left.php","_self");");
fw_menu_1.addMenuItem("相关论坛","window.open("php3.php?part=3&&p=1","_self");");
fw_menu_1.fontWeight="solid";
fw_menu_1.hideOnMouseOut=true;
window.fw_menu_2=newMenu("root",86,20,"Verdana,Arial,Helvetica,sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
fw_menu_2.addMenuItem("Mysql介绍","window.open("mysql1.php","_self");");
fw_menu_2.addMenuItem("在线下载","window.open("mysql2.php","_self");");
fw_menu_2.addMenuItem("学习教程","window.open("mysql4a.php","_self");");
fw_menu_2.addMenuItem("Mysql论坛","window.open("php3.php?part=2&&p=1","_self");");
fw_menu_2.fontWeight="solid";
fw_menu_2.hideOnMouseOut=true;
window.fw_menu_3=newMenu("root",76,20,"Verdana,Arial,Helvetica,sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
fw_menu_3.addMenuItem("安装配置","window.open("php1.php?id1=1&&id2=1","_self");");
fw_menu_3.addMenuItem("程序代码","window.open("php2.php?id1=2&&id2=1","_self");");
fw_menu_3.addMenuItem("学习教程","window.open("php4.php?id1=4&&id2=1","_self");");
fw_menu_3.addMenuItem("PHP论坛","window.open("php3.php?part=1&&p=1","_self");");
fw_menu_3.fontWeight="solid";
fw_menu_3.hideOnMouseOut=true;
fw_menu_3.writeMenus();
}//fwLoadMenus()
//下面是fw_menu.js
functionMenu(label,mw,mh,fnt,fs,fclr,fhclr,bg,bgh){
this.version="990702[Menu;menu.js]";
this.type="Menu";
this.menuWidth=mw;
this.menuItemHeight=mh;
this.fontSize=fs||12;
this.fontWeight="plain";
this.fontFamily=fnt||"arial,helvetica,verdana,sans-serif";
this.fontColor=fclr||"#000000";
this.fontColorHilite=fhclr||"#ffffff";
this.bgColor="#555555";
this.menuBorder=1;
this.menuItemBorder=1;
this.menuItemBgColor=bg||"#cccccc";
this.menuLiteBgColor="#ffffff";
this.menuBorderBgColor="#777777";
this.menuHiliteBgColor=bgh||"#000084";
this.menuContainerBgColor="#cccccc";
this.childMenuIcon="arrows.gif";
this.items=newArray();
this.actions=newArray();
this.childMenus=newArray();
this.hideOnMouseOut=true;
this.addMenuItem=addMenuItem;
this.addMenuSeparator=addMenuSeparator;
this.writeMenus=writeMenus;
this.FW_showMenu=FW_showMenu;
this.onMenuItemOver=onMenuItemOver;
this.onMenuItemAction=onMenuItemAction;
this.hideMenu=hideMenu;
this.hideChildMenu=hideChildMenu;
if(!window.menus)window.menus=newArray();
this.label=label||"menuLabel"+window.menus.length;
window.menus[this.label]=this;
window.menus[window.menus.length]=this;
if(!window.activeMenus)window.activeMenus=newArray();
}
functionaddMenuItem(label,action){
this.items[this.items.length]=label;
this.actions[this.actions.length]=action;
}
functionaddMenuSeparator(){
this.items[this.items.length]="separator";
this.actions[this.actions.length]="";
this.menuItemBorder=0;
}
//ForNS6.
functionFIND(item){
if(document.all)return(document.all[item]);
if(document.getElementById)return(document.getElementById(item));
return(false);
}
functionwriteMenus(container){
if(window.triedToWriteMenus)return;
if(!container&&document.layers){
window.delayWriteMenus=this.writeMenus;
vartimer=setTimeout("delayWriteMenus()",250);
container=newLayer(100);
clearTimeout(timer);
}elseif(document.all||document.hasChildNodes){
document.writeln("<SPANID="menuContainer"></SPAN>");
container=FIND("menuContainer");
}
window.fwHideMenuTimer=null;
if(!container)return;
window.triedToWriteMenus=true;
container.isContainer=true;
container.menus=newArray();
for(vari=0;i<window.menus.length;i++)
container.menus[i]=window.menus[i];
window.menus.length=0;
varcountMenus=0;
varcountItems=0;
vartop=0;
varcontent="";
varlrs=false;
vartheStat="";
vartsc=0;
if(document.layers)lrs=true;
for(vari=0;i<container.menus.length;i++,countMenus++){
varmenu=container.menus[i];
if(menu.bgImageUp){
menu.menuBorder=0;
menu.menuItemBorder=0;
}
if(lrs){
varmenuLayer=newLayer(100,container);
varlite=newLayer(100,menuLayer);
lite.top=menu.menuBorder;
lite.left=menu.menuBorder;
varbody=newLayer(100,lite);
body.top=menu.menuBorder;
body.left=menu.menuBorder;
}else{
content+=""+
"<DIVID="menuLayer"+countMenus+""STYLE="position:absolute;z-index:1;left:10;top:"+(i*100)+";visibility:hidden;">n"+
" <DIVID="menuLite"+countMenus+""STYLE="position:absolute;z-index:1;left:"+menu.menuBorder+";top:"+menu.menuBorder+";visibility:hide;"onMouseOut="mouseoutMenu();">n"+
" <DIVID="menuFg"+countMenus+""STYLE="position:absolute;left:"+menu.menuBorder+";top:"+menu.menuBorder+";visibility:hide;">n"+
"";
}
varx=i;
for(vari=0;i<menu.items.length;i++){
varitem=menu.items[i];
varchildMenu=false;
vardefaultHeight=menu.fontSize+6;
vardefaultIndent=menu.fontSize;
if(item.label){
item=item.label;
childMenu=true;
}
menu.menuItemHeight=menu.menuItemHeight||defaultHeight;
menu.menuItemIndent=menu.menuItemIndent||defaultIndent;
varitemProps="font-family:"+menu.fontFamily+";font-weight:"+menu.fontWeight+";fontSize:"+menu.fontSize+";";
if(menu.fontStyle)itemProps+="font-style:"+menu.fontStyle+";";
if(document.all)
itemProps+="font-size:"+menu.fontSize+";"onMouseOver="onMenuItemOver(null,this);"onClick="onMenuItemAction(null,this);";
elseif(!document.layers){
itemProps+="font-size:"+menu.fontSize+"px;";//zillawants12px.
}
varl;
if(lrs){
l=newLayer(800,body);
}
vardTag ="<DIVID="menuItem"+countItems+""STYLE="position:absolute;left:0;top:"+(i*menu.menuItemHeight)+";"+itemProps+"">";
vardClose="</DIV>"
if(menu.bgImageUp){
menu.menuBorder=0;
menu.menuItemBorder=0;
dTag ="<DIVID="menuItem"+countItems+""STYLE="background:url("+menu.bgImageUp+");position:absolute;left:0;top:"+(i*menu.menuItemHeight)+";"+itemProps+"">";
if(document.layers){
dTag="<LAYERBACKGROUND=""+menu.bgImageUp+""ID="menuItem"+countItems+""TOP=""+(i*menu.menuItemHeight)+""style=""+itemProps+"">";
dClose="</LAYER>";
}
}
vartextProps="position:absolute;left:"+menu.menuItemIndent+";top:1;";
if(lrs){
textProps+=itemProps;
dTag="";
dClose="";
}
vardText ="<DIVID="menuItemText"+countItems+""STYLE=""+textProps+"color:"+menu.fontColor+";">"+item+" </DIV>n<DIVID="menuItemHilite"+countItems+""STYLE=""+textProps+"top:1;color:"+menu.fontColorHilite+";visibility:hidden;">"+item+" </DIV>";
if(item=="separator"){
content+=(dTag+"<DIVID="menuSeparator"+countItems+""STYLE="position:absolute;left:1;top:2;"></DIV>n<DIVID="menuSeparatorLite"+countItems+""STYLE="position:absolute;left:1;top:2;"></DIV>n"+dClose);
}elseif(childMenu){
content+=(dTag+dText+"<DIVID="childMenu"+countItems+""STYLE="position:absolute;left:0;top:3;"><IMGSRC=""+menu.childMenuIcon+""></DIV>n"+dClose);
}else{
content+=(dTag+dText+dClose);
}
if(lrs){
l.document.open("text/html");
l.document.writeln(content);
l.document.close();
content="";
theStat+="-";
tsc++;
if(tsc>50){
tsc=0;
theStat="";
}
status=theStat;
}
countItems++;
}
if(lrs){
//focuslayer
varfocusItem=newLayer(100,body);
focusItem.visiblity="hidden";
focusItem.document.open("text/html");
focusItem.document.writeln(" ");
focusItem.document.close();
}else{
content+=" <DIVID="focusItem"+countMenus+""STYLE="position:absolute;left:0;top:0;visibility:hide;"onClick="onMenuItemAction(null,this);"> </DIV>n";
content+=" </DIV>n </DIV>n</DIV>n";
}
i=x;
}
if(document.layers){
container.clip.width=window.innerWidth;
container.clip.height=window.innerHeight;
container.onmouseout=mouseoutMenu;
container.menuContainerBgColor=this.menuContainerBgColor;
for(vari=0;i<container.document.layers.length;i++){
proto=container.menus[i];
varmenu=container.document.layers[i];
container.menus[i].menuLayer=menu;
container.menus[i].menuLayer.Menu=container.menus[i];
container.menus[i].menuLayer.Menu.container=container;
varbody=menu.document.layers[0].document.layers[0];
body.clip.width=proto.menuWidth||body.clip.width;
body.clip.height=proto.menuHeight||body.clip.height;
for(varn=0;n<body.document.layers.length-1;n++){
varl=body.document.layers[n];
l.Menu=container.menus[i];
l.menuHiliteBgColor=proto.menuHiliteBgColor;
l.document.bgColor=proto.menuItemBgColor;
l.saveColor=proto.menuItemBgColor;
l.onmouseover=proto.onMenuItemOver;
l.onclick=proto.onMenuItemAction;
l.action=container.menus[i].actions[n];
l.focusItem=body.document.layers[body.document.layers.length-1];
l.clip.width=proto.menuWidth||body.clip.width+proto.menuItemIndent;
l.clip.height=proto.menuItemHeight||l.clip.height;
if(n>0)l.top=body.document.layers[n-1].top+body.document.layers[n-1].clip.height+proto.menuItemBorder;
l.hilite=l.document.layers[1];
if(proto.bgImageUp)l.background.src=proto.bgImageUp;
l.document.layers[1].isHilite=true;
if(l.document.layers[0].id.indexOf("menuSeparator")!=-1){
l.hilite=null;
l.clip.height-=l.clip.height/2;
l.document.layers[0].document.bgColor=proto.bgColor;
l.document.layers[0].clip.width=l.clip.width-2;
l.document.layers[0].clip.height=1;
l.document.layers[1].document.bgColor=proto.menuLiteBgColor;
l.document.layers[1].clip.width=l.clip.width-2;
l.document.layers[1].clip.height=1;
l.document.layers[1].top=l.document.layers[0].top+1;
}elseif(l.document.layers.length>2){
l.childMenu=container.menus[i].items[n].menuLayer;
l.document.layers[2].left=l.clip.width-13;
l.document.layers[2].top=(l.clip.height/2)-4;
l.document.layers[2].clip.left+=3;
l.Menu.childMenus[l.Menu.childMenus.length]=l.childMenu;
}
}
body.document.bgColor=proto.bgColor;
body.clip.width =l.clip.width+proto.menuBorder;
body.clip.height=l.top+l.clip.height
functionfwLoadMenus(){
if(window.fw_menu_0)return;
window.fw_menu_0=newMenu("root",92,20,"Verdana,Arial,Helvetica,sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
fw_menu_0.addMenuItem("Javascript","window.open("left.php","_self");");
fw_menu_0.addMenuItem("Css快速入门","window.open("left.php","_self");");
fw_menu_0.addMenuItem("JS在线资源","window.open("left.php","_self");");
fw_menu_0.addMenuItem("相关论坛","window.open("php3.php?part=4&&p=1","_self");");
fw_menu_0.fontWeight="solid";
fw_menu_0.hideOnMouseOut=true;
window.fw_menu_1=newMenu("root",92,20,"Verdana,Arial,Helvetica,sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
fw_menu_1.addMenuItem("Dreamwaver","window.open("left.php","_self");");
fw_menu_1.addMenuItem("Firework","window.open("left.php","_self");");
fw_menu_1.addMenuItem("Flash入门","window.open("left.php","_self");");
fw_menu_1.addMenuItem("Html教程","window.open("left.php","_self");");
fw_menu_1.addMenuItem("相关论坛","window.open("php3.php?part=3&&p=1","_self");");
fw_menu_1.fontWeight="solid";
fw_menu_1.hideOnMouseOut=true;
window.fw_menu_2=newMenu("root",86,20,"Verdana,Arial,Helvetica,sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
fw_menu_2.addMenuItem("Mysql介绍","window.open("mysql1.php","_self");");
fw_menu_2.addMenuItem("在线下载","window.open("mysql2.php","_self");");
fw_menu_2.addMenuItem("学习教程","window.open("mysql4a.php","_self");");
fw_menu_2.addMenuItem("Mysql论坛","window.open("php3.php?part=2&&p=1","_self");");
fw_menu_2.fontWeight="solid";
fw_menu_2.hideOnMouseOut=true;
window.fw_menu_3=newMenu("root",76,20,"Verdana,Arial,Helvetica,sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
fw_menu_3.addMenuItem("安装配置","window.open("php1.php?id1=1&&id2=1","_self");");
fw_menu_3.addMenuItem("程序代码","window.open("php2.php?id1=2&&id2=1","_self");");
fw_menu_3.addMenuItem("学习教程","window.open("php4.php?id1=4&&id2=1","_self");");
fw_menu_3.addMenuItem("PHP论坛","window.open("php3.php?part=1&&p=1","_self");");
fw_menu_3.fontWeight="solid";
fw_menu_3.hideOnMouseOut=true;
fw_menu_3.writeMenus();
}//fwLoadMenus()
//下面是fw_menu.js
functionMenu(label,mw,mh,fnt,fs,fclr,fhclr,bg,bgh){
this.version="990702[Menu;menu.js]";
this.type="Menu";
this.menuWidth=mw;
this.menuItemHeight=mh;
this.fontSize=fs||12;
this.fontWeight="plain";
this.fontFamily=fnt||"arial,helvetica,verdana,sans-serif";
this.fontColor=fclr||"#000000";
this.fontColorHilite=fhclr||"#ffffff";
this.bgColor="#555555";
this.menuBorder=1;
this.menuItemBorder=1;
this.menuItemBgColor=bg||"#cccccc";
this.menuLiteBgColor="#ffffff";
this.menuBorderBgColor="#777777";
this.menuHiliteBgColor=bgh||"#000084";
this.menuContainerBgColor="#cccccc";
this.childMenuIcon="arrows.gif";
this.items=newArray();
this.actions=newArray();
this.childMenus=newArray();
this.hideOnMouseOut=true;
this.addMenuItem=addMenuItem;
this.addMenuSeparator=addMenuSeparator;
this.writeMenus=writeMenus;
this.FW_showMenu=FW_showMenu;
this.onMenuItemOver=onMenuItemOver;
this.onMenuItemAction=onMenuItemAction;
this.hideMenu=hideMenu;
this.hideChildMenu=hideChildMenu;
if(!window.menus)window.menus=newArray();
this.label=label||"menuLabel"+window.menus.length;
window.menus[this.label]=this;
window.menus[window.menus.length]=this;
if(!window.activeMenus)window.activeMenus=newArray();
}
functionaddMenuItem(label,action){
this.items[this.items.length]=label;
this.actions[this.actions.length]=action;
}
functionaddMenuSeparator(){
this.items[this.items.length]="separator";
this.actions[this.actions.length]="";
this.menuItemBorder=0;
}
//ForNS6.
functionFIND(item){
if(document.all)return(document.all[item]);
if(document.getElementById)return(document.getElementById(item));
return(false);
}
functionwriteMenus(container){
if(window.triedToWriteMenus)return;
if(!container&&document.layers){
window.delayWriteMenus=this.writeMenus;
vartimer=setTimeout("delayWriteMenus()",250);
container=newLayer(100);
clearTimeout(timer);
}elseif(document.all||document.hasChildNodes){
document.writeln("<SPANID="menuContainer"></SPAN>");
container=FIND("menuContainer");
}
window.fwHideMenuTimer=null;
if(!container)return;
window.triedToWriteMenus=true;
container.isContainer=true;
container.menus=newArray();
for(vari=0;i<window.menus.length;i++)
container.menus[i]=window.menus[i];
window.menus.length=0;
varcountMenus=0;
varcountItems=0;
vartop=0;
varcontent="";
varlrs=false;
vartheStat="";
vartsc=0;
if(document.layers)lrs=true;
for(vari=0;i<container.menus.length;i++,countMenus++){
varmenu=container.menus[i];
if(menu.bgImageUp){
menu.menuBorder=0;
menu.menuItemBorder=0;
}
if(lrs){
varmenuLayer=newLayer(100,container);
varlite=newLayer(100,menuLayer);
lite.top=menu.menuBorder;
lite.left=menu.menuBorder;
varbody=newLayer(100,lite);
body.top=menu.menuBorder;
body.left=menu.menuBorder;
}else{
content+=""+
"<DIVID="menuLayer"+countMenus+""STYLE="position:absolute;z-index:1;left:10;top:"+(i*100)+";visibility:hidden;">n"+
" <DIVID="menuLite"+countMenus+""STYLE="position:absolute;z-index:1;left:"+menu.menuBorder+";top:"+menu.menuBorder+";visibility:hide;"onMouseOut="mouseoutMenu();">n"+
" <DIVID="menuFg"+countMenus+""STYLE="position:absolute;left:"+menu.menuBorder+";top:"+menu.menuBorder+";visibility:hide;">n"+
"";
}
varx=i;
for(vari=0;i<menu.items.length;i++){
varitem=menu.items[i];
varchildMenu=false;
vardefaultHeight=menu.fontSize+6;
vardefaultIndent=menu.fontSize;
if(item.label){
item=item.label;
childMenu=true;
}
menu.menuItemHeight=menu.menuItemHeight||defaultHeight;
menu.menuItemIndent=menu.menuItemIndent||defaultIndent;
varitemProps="font-family:"+menu.fontFamily+";font-weight:"+menu.fontWeight+";fontSize:"+menu.fontSize+";";
if(menu.fontStyle)itemProps+="font-style:"+menu.fontStyle+";";
if(document.all)
itemProps+="font-size:"+menu.fontSize+";"onMouseOver="onMenuItemOver(null,this);"onClick="onMenuItemAction(null,this);";
elseif(!document.layers){
itemProps+="font-size:"+menu.fontSize+"px;";//zillawants12px.
}
varl;
if(lrs){
l=newLayer(800,body);
}
vardTag ="<DIVID="menuItem"+countItems+""STYLE="position:absolute;left:0;top:"+(i*menu.menuItemHeight)+";"+itemProps+"">";
vardClose="</DIV>"
if(menu.bgImageUp){
menu.menuBorder=0;
menu.menuItemBorder=0;
dTag ="<DIVID="menuItem"+countItems+""STYLE="background:url("+menu.bgImageUp+");position:absolute;left:0;top:"+(i*menu.menuItemHeight)+";"+itemProps+"">";
if(document.layers){
dTag="<LAYERBACKGROUND=""+menu.bgImageUp+""ID="menuItem"+countItems+""TOP=""+(i*menu.menuItemHeight)+""style=""+itemProps+"">";
dClose="</LAYER>";
}
}
vartextProps="position:absolute;left:"+menu.menuItemIndent+";top:1;";
if(lrs){
textProps+=itemProps;
dTag="";
dClose="";
}
vardText ="<DIVID="menuItemText"+countItems+""STYLE=""+textProps+"color:"+menu.fontColor+";">"+item+" </DIV>n<DIVID="menuItemHilite"+countItems+""STYLE=""+textProps+"top:1;color:"+menu.fontColorHilite+";visibility:hidden;">"+item+" </DIV>";
if(item=="separator"){
content+=(dTag+"<DIVID="menuSeparator"+countItems+""STYLE="position:absolute;left:1;top:2;"></DIV>n<DIVID="menuSeparatorLite"+countItems+""STYLE="position:absolute;left:1;top:2;"></DIV>n"+dClose);
}elseif(childMenu){
content+=(dTag+dText+"<DIVID="childMenu"+countItems+""STYLE="position:absolute;left:0;top:3;"><IMGSRC=""+menu.childMenuIcon+""></DIV>n"+dClose);
}else{
content+=(dTag+dText+dClose);
}
if(lrs){
l.document.open("text/html");
l.document.writeln(content);
l.document.close();
content="";
theStat+="-";
tsc++;
if(tsc>50){
tsc=0;
theStat="";
}
status=theStat;
}
countItems++;
}
if(lrs){
//focuslayer
varfocusItem=newLayer(100,body);
focusItem.visiblity="hidden";
focusItem.document.open("text/html");
focusItem.document.writeln(" ");
focusItem.document.close();
}else{
content+=" <DIVID="focusItem"+countMenus+""STYLE="position:absolute;left:0;top:0;visibility:hide;"onClick="onMenuItemAction(null,this);"> </DIV>n";
content+=" </DIV>n </DIV>n</DIV>n";
}
i=x;
}
if(document.layers){
container.clip.width=window.innerWidth;
container.clip.height=window.innerHeight;
container.onmouseout=mouseoutMenu;
container.menuContainerBgColor=this.menuContainerBgColor;
for(vari=0;i<container.document.layers.length;i++){
proto=container.menus[i];
varmenu=container.document.layers[i];
container.menus[i].menuLayer=menu;
container.menus[i].menuLayer.Menu=container.menus[i];
container.menus[i].menuLayer.Menu.container=container;
varbody=menu.document.layers[0].document.layers[0];
body.clip.width=proto.menuWidth||body.clip.width;
body.clip.height=proto.menuHeight||body.clip.height;
for(varn=0;n<body.document.layers.length-1;n++){
varl=body.document.layers[n];
l.Menu=container.menus[i];
l.menuHiliteBgColor=proto.menuHiliteBgColor;
l.document.bgColor=proto.menuItemBgColor;
l.saveColor=proto.menuItemBgColor;
l.onmouseover=proto.onMenuItemOver;
l.onclick=proto.onMenuItemAction;
l.action=container.menus[i].actions[n];
l.focusItem=body.document.layers[body.document.layers.length-1];
l.clip.width=proto.menuWidth||body.clip.width+proto.menuItemIndent;
l.clip.height=proto.menuItemHeight||l.clip.height;
if(n>0)l.top=body.document.layers[n-1].top+body.document.layers[n-1].clip.height+proto.menuItemBorder;
l.hilite=l.document.layers[1];
if(proto.bgImageUp)l.background.src=proto.bgImageUp;
l.document.layers[1].isHilite=true;
if(l.document.layers[0].id.indexOf("menuSeparator")!=-1){
l.hilite=null;
l.clip.height-=l.clip.height/2;
l.document.layers[0].document.bgColor=proto.bgColor;
l.document.layers[0].clip.width=l.clip.width-2;
l.document.layers[0].clip.height=1;
l.document.layers[1].document.bgColor=proto.menuLiteBgColor;
l.document.layers[1].clip.width=l.clip.width-2;
l.document.layers[1].clip.height=1;
l.document.layers[1].top=l.document.layers[0].top+1;
}elseif(l.document.layers.length>2){
l.childMenu=container.menus[i].items[n].menuLayer;
l.document.layers[2].left=l.clip.width-13;
l.document.layers[2].top=(l.clip.height/2)-4;
l.document.layers[2].clip.left+=3;
l.Menu.childMenus[l.Menu.childMenus.length]=l.childMenu;
}
}
body.document.bgColor=proto.bgColor;
body.clip.width =l.clip.width+proto.menuBorder;
body.clip.height=l.top+l.clip.height
相关文章
- PHP之旅---出发(php+apache+MySQL)
- 快速连接:PHP与MySQL的数据库通信(php链接mysql数据库)
- 掌握MySQL中的所有查询函数(mysql查询所有函数)
- myadmin如何快速熟悉MySQL:使用phpMyAdmin配置(mysql配置php)
- 数据MySQL:轻松获取上周数据(mysql获取上周)
- MySQL查询数据库的简单操作步骤(mysql如何查询数据库)
- PHP快速导出MySQL数据库的技巧(php导出mysql数据库)
- PHP连接MySQL:完成数据库操作的基本语句(php连接mysql语句)
- MySQL教程视频,百度云盘上有你想要的!(mysql教程视频百度云)
- PHP与MySQL连接失败如何解决?(php连接不上mysql)
- PHP快速获取MySQL数据库信息(php获取mysql信息)
- 实现PHP与MySQL的无缝连接,增强web开发效率(让php支持mysql)
- PHP实现Object Oriented Stye封装MySQL类(php封装mysql类)
- 管理从MySQL账户权限管理到安全控制(mysql账户权限)
- MySQL导入Excel:一步步实现数据导入(mysql导入excel)
- php连接Mysql出错:排查与解决(php连接mysql错误)
- 如何使用 MySQL 查询数据库 IP?(mysql查询数据库ip)
- PHP与MySQL圣经:完整指南及最佳实践。(php与mysql圣经)
- PHP的MySQL编程示例(php的mysql代码)
- 记录PHP之MySQL踩坑:如何防止重复记录(php mysql 重复)
- MySQL 非空字段配置指南(mysql非空字段)
- 通过CSV文件插入MySQL轻松实现(csv文件插入mysql)
- 用CMD终止MySQL服务史无前例的无缝切换(cmd终止mysql服务)
- 使用CMD快速删除MySQL密码(cmd删除mysql密码)
- MySQL学习笔记如何删除指定列(mysql中删除列)
- MySQL创建表示例快速掌握MYSQL基础操作(mysql中创建表的例子)
- 深入浅出MySQL与PHP的数据库设计与应用(mysql_psasp)
- 解决MySQL安装无法加载的问题(mysql 不能加载安装)