if (mtDropDown.isSupported()) { var ms = new mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft); var menu2 = ms.addMenu(document.getElementById("mainmenu2")); menu2.addItem("转换插头序列", "/index.php/list/salas/1/cn/90516/90515.html",""); menu2.addItem("插座排插系列", "/index.php/list/salas/1/cn/90519/90515.html",""); menu2.addItem("USB充电系列", "/index.php/list/salas/1/cn/90520/90515.html",""); menu2.addItem("电子变压系列", "/index.php/list/salas/1/cn/90521/90515.html",""); menu2.addItem("电源充电序列", "/index.php/list/salas/1/cn/90522/90515.html",""); menu2.addItem("高新技术序列", "/index.php/list/salas/1/cn/90523/90515.html",""); var menu3 = ms.addMenu(document.getElementById("mainmenu3")); menu3.addItem("产品研发", "/userlist/salas/text-90527.html",""); menu3.addItem("磨具设计", "/userlist/salas/text-90528.html",""); menu3.addItem("生产控制", "/userlist/salas/text-90529.html",""); menu3.addItem("品质质检", "/userlist/salas/text-90530.html",""); var menu4 = ms.addMenu(document.getElementById("mainmenu4")); menu4.addItem("OEM", "/userlist/salas/text-90532.html",""); menu4.addItem("ODM", "/userlist/salas/text-90533.html",""); var menu6 = ms.addMenu(document.getElementById("mainmenu6")); menu6.addItem("生产环境", "/userlist/salas/text-90536.html",""); menu6.addItem("测试设备", "/userlist/salas/text-90537.html",""); menu6.addItem("品质认证", "/userlist/salas/text-90538.html",""); var menu7 = ms.addMenu(document.getElementById("mainmenu7")); menu7.addItem("公司概况", "/userlist/salas/text-90540.html",""); menu7.addItem("发展历程", "/userlist/salas/text-90541.html",""); menu7.addItem("企业文化", "/userlist/salas/text-90542.html",""); mtDropDown.renderAll(); } //初始菜单 window.onload = init;