BBS(php & mysql)完整版(五)
//下面为menu_comment.js
function fwLoadMenus() {
if (window.fw_menu_0) return;
window.fw_menu_0 = new Menu("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(php(做为现在的主流开发语言)3.php(做为现在的主流开发语言)?part=4&&p=1, _self);");
fw_menu_0.fontWeight="solid";
fw_menu_0.hideOnMouseOut=true;
window.fw_menu_1 = new Menu("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(php(做为现在的主流开发语言)3.php(做为现在的主流开发语言)?part=3&&p=1, _self);");
fw_menu_1.fontWeight="solid";
fw_menu_1.hideOnMouseOut=true;
window.fw_menu_2 = new Menu("root",86,20,"Verdana, Arial, Helvetica, sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
fw_menu_2.addMenuItem("MySQL(和PHP搭配之最佳组合)介绍","window.open(MySQL(和PHP搭配之最佳组合)1.php(做为现在的主流开发语言), _self);");
fw_menu_2.addMenuItem("在线下载","window.open(MySQL(和PHP搭配之最佳组合)2.php(做为现在的主流开发语言), _self);");
fw_menu_2.addMenuItem("学习教程","window.open(MySQL(和PHP搭配之最佳组合)4a.php(做为现在的主流开发语言), _self);");
fw_menu_2.addMenuItem("MySQL(和PHP搭配之最佳组合)论坛","window.open(php(做为现在的主流开发语言)3.php(做为现在的主流开发语言)?part=2&&p=1, _self);");
fw_menu_2.fontWeight="solid";
fw_menu_2.hideOnMouseOut=true;
window.fw_menu_3 = new Menu("root",76,20,"Verdana, Arial, Helvetica, sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
fw_menu_3.addMenuItem("安装配置","window.open(php(做为现在的主流开发语言)1.php(做为现在的主流开发语言)?id1=1&&id2=1, _self);");
fw_menu_3.addMenuItem("程序代码","window.open(php(做为现在的主流开发语言)2.php(做为现在的主流开发语言)?id1=2&&id2=1, _self);");
fw_menu_3.addMenuItem("学习教程","window.open(php(做为现在的主流开发语言)4.php(做为现在的主流开发语言)?id1=4&&id2=1, _self);");
fw_menu_3.addMenuItem("php(做为现在的主流开发语言)论坛","window.open(php(做为现在的主流开发语言)3.php(做为现在的主流开发语言)?part=1&&p=1, _self);");
fw_menu_3.fontWeight="solid";
fw_menu_3.hideOnMouseOut=true;
fw_menu_3.writeMenus();
} // fwLoadMenus()
//下面是fw_menu.js
function Menu(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";
补充:Web开发 , php ,