电脑知识|欧美黑人一区二区三区|软件|欧美黑人一级爽快片淫片高清|系统|欧美黑人狂野猛交老妇|数据库|服务器|编程开发|网络运营|知识问答|技术教程文章 - 好吧啦网

您的位置:首頁技術文章
文章詳情頁

BBS(php & mysql)完整版(五)

瀏覽:69日期:2024-01-06 09:49:44
//下面為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('php3.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('php3.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介紹","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 = new Menu("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 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";;;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 = new Array(); ;;;;this.actions = new Array(); ;;;;this.childMenus = new Array(); ;;;;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 = new Array(); ;;;;this.label = label || "menuLabel" + window.menus.length; ;;;;window.menus[this.label] = this; ;;;;window.menus[window.menus.length] = this; ;;;;if (!window.activeMenus) window.activeMenus = new Array(); } function addMenuItem(label, action) { ;;;;this.items[this.items.length] = label; ;;;;this.actions[this.actions.length] = action; } function addMenuSeparator() { ;;;;this.items[this.items.length] = "separator";;;this.actions[this.actions.length] = "";;;this.menuItemBorder = 0; } // For NS6.;;function FIND(item) { ;;;;if (document.all) return(document.all[item]); ;;;;if (document.getElementById) return(document.getElementById(item)); ;;;;return(false); } function writeMenus(container) { ;;;;if (window.triedToWriteMenus) return; ;;;;if (!container && document.layers) { window.delayWriteMenus = this.writeMenus; var timer = setTimeout('delayWriteMenus()', 250); container = new Layer(100); clearTimeout(timer); ;;;;} else if (document.all || document.hasChildNodes) { document.writeln('<SPAN ID="menuContainer"></SPAN>'); container = FIND("menuContainer"); ;;;;} ;;;;window.fwHideMenuTimer = null; ;;;;if (!container) return;;;;;;;;;;window.triedToWriteMenus = true;;;;;;;container.isContainer = true; ;;;;container.menus = new Array(); ;;;;for (var i=0; i<window.menus.length; i++);;container.menus[i] = window.menus[i]; ;;;;window.menus.length = 0; ;;;;var countMenus = 0; ;;;;var countItems = 0; ;;;;var top = 0; ;;;;var content = ''; ;;;;var lrs = false; ;;;;var theStat = "";;;var tsc = 0; ;;;;if (document.layers) lrs = true; ;;;;for (var i=0; i<container.menus.length; i++, countMenus++) { var menu = container.menus[i]; if (menu.bgImageUp) { ;;;;menu.menuBorder = 0; ;;;;menu.menuItemBorder = 0; } if (lrs) { ;;;;var menuLayer = new Layer(100, container); ;;;;var lite = new Layer(100, menuLayer); ;;;;lite.top = menu.menuBorder; ;;;;lite.left = menu.menuBorder; ;;;;var body = new Layer(100, lite); ;;;;body.top = menu.menuBorder; ;;;;body.left = menu.menuBorder; } else { ;;;;content += ''+ ;;;;'<DIV ID="menuLayer'+ countMenus +'" STYLE="position:absolute;z-index:1;left:10;top:'+ (i * 100) +';visibility:hidden;">n'+ ;;;;';;<DIV ID="menuLite'+ countMenus +'" STYLE="position:absolute;z-index:1;left:'+ menu.menuBorder +';top:'+ menu.menuBorder +';visibility:hide;" onMouseOut="mouseoutMenu();">n'+ ;;;;';;;;;<DIV ID="menuFg'+ countMenus +'" STYLE="position:absolute;left:'+ menu.menuBorder +';top:'+ menu.menuBorder +';visibility:hide;">n'+ ;;;;''; } var x=i; for (var i=0; i<menu.items.length; i++) { ;;;;var item = menu.items[i]; ;;;;var childMenu = false; ;;;;var defaultHeight = menu.fontSize+6; ;;;;var defaultIndent = menu.fontSize; ;;;;if (item.label) { item = item.label; childMenu = true; ;;;;} ;;;;menu.menuItemHeight = menu.menuItemHeight || defaultHeight; ;;;;menu.menuItemIndent = menu.menuItemIndent || defaultIndent; ;;;;var itemProps = '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);'; ;;;;else if (!document.layers) { itemProps += 'font-size:' + menu.fontSize + 'px;'; // zilla wants 12px. ;;;;} ;;;;var l; ;;;;if (lrs) { l = new Layer(800,body); ;;;;} ;;;;var dTag;;;;= '<DIV ID="menuItem'+ countItems +'" STYLE="position:absolute;left:0;top:'+ (i * menu.menuItemHeight) +';'+ itemProps +'">'; ;;;;var dClose = '</DIV>' ;;;;if (menu.bgImageUp) { menu.menuBorder = 0; menu.menuItemBorder = 0; dTag;;;;= '<DIV ID="menuItem'+ countItems +'" STYLE="background:url('+menu.bgImageUp+');position:absolute;left:0;top:'+ (i * menu.menuItemHeight) +';'+ itemProps +'">'; if (document.layers) { ;;;;dTag = '<LAYER BACKGROUND="'+menu.bgImageUp+'" ID="menuItem'+ countItems +'" TOP="'+ (i * menu.menuItemHeight) +'" style="' + itemProps +'">'; ;;;;dClose = '</LAYER>'; } ;;;;} ;;;;var textProps = 'position:absolute;left:' + menu.menuItemIndent + ';top:1;'; ;;;;if (lrs) { textProps +=itemProps; dTag = ""dClose = "";;;} ;;;;var dText;;;;= '<DIV ID="menuItemText'+ countItems +'" STYLE="' + textProps + 'color:'+ menu.fontColor +';">'+ item +'&nbsp</DIV>n<DIV ID="menuItemHilite'+ countItems +'" STYLE="' + textProps + 'top:1;color:'+ menu.fontColorHilite +';visibility:hidden;">'+ item +'&nbsp</DIV>'; ;;;;if (item == "separator") { content += ( dTag + '<DIV ID="menuSeparator'+ countItems +'" STYLE="position:absolute;left:1;top:2;"></DIV>n<DIV ID="menuSeparatorLite'+ countItems +'" STYLE="position:absolute;left:1;top:2;"></DIV>n' + dClose); ;;;;} else if (childMenu) { content += ( dTag + dText + '<DIV ID="childMenu'+ countItems +'" STYLE="position:absolute;left:0;top:3;"><IMG SRC="'+ 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) { ;;;;// focus layer ;;;;var focusItem = new Layer(100, body); ;;;;focusItem.visiblity="hidden";;;focusItem.document.open("text/html"); ;;;;focusItem.document.writeln("&nbsp;"); ;;;;focusItem.document.close();;;;;;} else { ;;content += ';;;;;;<DIV ID="focusItem'+ countMenus +'" STYLE="position:absolute;left:0;top:0;visibility:hide;" onClick="onMenuItemAction(null,this);">&nbsp;</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 (var i=0; i<container.document.layers.length; i++) { ;;;;proto = container.menus[i]; ;;;;var menu = container.document.layers[i]; ;;;;container.menus[i].menuLayer = menu; ;;;;container.menus[i].menuLayer.Menu = container.menus[i]; ;;;;container.menus[i].menuLayer.Menu.container = container; ;;;;var body = menu.document.layers[0].document.layers[0]; ;;;;body.clip.width = proto.menuWidth || body.clip.width; ;;;;body.clip.height = proto.menuHeight || body.clip.height; ;;;;for (var n=0; n<body.document.layers.length-1; n++) { var l = 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; } else if (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
主站蜘蛛池模板: 澳威全屋定制官网|极简衣柜十大品牌|衣柜加盟代理|全屋定制招商 百度爱采购运营研究社社群-店铺托管-爱采购代运营-良言多米网络公司 | 小型UV打印机-UV平板打印机-大型uv打印机-UV打印机源头厂家 |松普集团 | 乐泰胶水_loctite_乐泰胶_汉高乐泰授权(中国)总代理-鑫华良供应链 | 退火炉,燃气退火炉,燃气热处理炉生产厂家-丹阳市丰泰工业炉有限公司 | 无锡不干胶标签,卷筒标签,无锡瑞彩包装材料有限公司 | 分子精馏/精馏设备生产厂家-分子蒸馏工艺实验-新诺舜尧(天津)化工设备有限公司 | 真空包装机-诸城市坤泰食品机械有限公司 | 济南轻型钢结构/济南铁艺护栏/济南铁艺大门-济南燕翔铁艺制品有限公司 | 恒温振荡混匀器-微孔板振荡器厂家-多管涡旋混匀器厂家-合肥艾本森(www.17world.net) | 干洗店加盟_洗衣店加盟_干洗店设备-伊蔻干洗「武汉总部」 | 对辊式破碎机-对辊制砂机-双辊-双齿辊破碎机-巩义市裕顺机械制造有限公司 | 自动钻孔机-全自动数控钻孔机生产厂家-多米(广东)智能装备有限公司 | 恒湿机_除湿加湿一体机_恒湿净化消毒一体机厂家-杭州英腾电器有限公司 | 知企服务-企业综合服务(ZiKeys.com)-品优低价、种类齐全、过程管理透明、速度快捷高效、放心服务,知企专家! | 铝机箱_铝外壳加工_铝外壳厂家_CNC散热器加工-惠州市铂源五金制品有限公司 | 披萨石_披萨盘_电器家电隔热绵加工定制_佛山市南海区西樵南方综合保温材料厂 | 蔡司三坐标-影像测量机-3D扫描仪-蔡司显微镜-扫描电镜-工业CT-ZEISS授权代理商三本工业测量 | 武汉高温老化房,恒温恒湿试验箱,冷热冲击试验箱-武汉安德信检测设备有限公司 | 南京PVC快速门厂家南京快速卷帘门_南京pvc快速门_世界500强企业国内供应商_南京美高门业 | 全屋整木定制-橱柜,家具定制-四川峨眉山龙马木业有限公司 | 高压贴片电容|贴片安规电容|三端滤波器|风华电容代理南京南山 | 河南新乡德诚生产厂家主营震动筛,振动筛设备,筛机,塑料震动筛选机 | 大通天成企业资质代办_承装修试电力设施许可证_增值电信业务经营许可证_无人机运营合格证_广播电视节目制作许可证 | 铝单板_铝窗花_铝单板厂家_氟碳包柱铝单板批发价格-佛山科阳金属 | 天津中都白癜风医院_天津白癜风医院_天津治疗白癜风 | 水质传感器_水质监测站_雨量监测站_水文监测站-山东水境传感科技有限公司 | 立式壁挂广告机厂家-红外电容触摸一体机价格-华邦瀛 | 济南展厅设计施工_数字化展厅策划设计施工公司_山东锐尚文化传播有限公司 | 3d打印服务,3d打印汽车,三维扫描,硅胶复模,手板,快速模具,深圳市精速三维打印科技有限公司 | 乳化沥青设备_改性沥青设备_沥青加温罐_德州市昊通路桥工程有限公司 | 干培两用箱-细菌恒温培养箱-菲斯福仪器| 帽子厂家_帽子工厂_帽子定做_义乌帽厂_帽厂_制帽厂_帽子厂_浙江高普制帽厂 | 电动葫芦|环链电动葫芦-北京凌鹰名优起重葫芦 | 无机纤维喷涂棉-喷涂棉施工工程-山东华泉建筑工程有限公司▲ | 胜为光纤光缆_光纤跳线_单模尾纤_光纤收发器_ODF光纤配线架厂家直销_北京睿创胜为科技有限公司 - 北京睿创胜为科技有限公司 | 威海防火彩钢板,威海岩棉复合板,威海彩钢瓦-文登区九龙岩棉复合板厂 | 冷凝锅炉_燃气锅炉_工业燃气锅炉改造厂家-北京科诺锅炉 | 锂电混合机-新能源混合机-正极材料混料机-高镍,三元材料混料机-负极,包覆混合机-贝尔专业混合混料搅拌机械系统设备厂家 | 室内室外厚型|超薄型|非膨胀型钢结构防火涂料_隧道专用防火涂料厂家|电话|价格|批发|施工 | 网站优化公司_北京网站优化_抖音短视频代运营_抖音关键词seo优化排名-通则达网络 | 深圳离婚律师咨询「在线免费」华荣深圳婚姻律师事务所专办离婚纠纷案件 |