if (mtDropDown.isSupported()) { var ms = new mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft); var menu2 = ms.addMenu(document.getElementById("mainmenu2")); menu2.addItem("组织结构", "/userlist/hnxm/text-6078.html",""); menu2.addItem("公司文化", "/userlist/hnxm/text-6082.html",""); var menu3 = ms.addMenu(document.getElementById("mainmenu3")); menu3.addItem("塑胶运动场地系列", "/userlist/hnxm/text-6071.html",""); menu3.addItem("运动球场系列", "/userlist/hnxm/text-6084.html",""); menu3.addItem("人工草坪系列", "/userlist/hnxm/text-6072.html",""); menu3.addItem("医用地板系列", "/userlist/hnxm/text-6085.html",""); menu3.addItem("木地板系列", "/userlist/hnxm/text-6075.html",""); menu3.addItem("彩石路径系列", "/userlist/hnxm/text-6086.html",""); var menu4 = ms.addMenu(document.getElementById("mainmenu4")); menu4.addItem("工程实景图", "/userlist/hnxm/text-6080.html",""); menu4.addItem("工程实景图二", "/userlist/hnxm/text-6100.html",""); menu4.addItem("工程实景图三", "/userlist/hnxm/text-6101.html",""); menu4.addItem("工程实景图四", "/userlist/hnxm/text-6102.html",""); menu4.addItem("工程实景图五", "/userlist/hnxm/text-6103.html",""); menu4.addItem("工程实景图六", "/userlist/hnxm/text-6104.html",""); var menu5 = ms.addMenu(document.getElementById("mainmenu5")); menu5.addItem("资质证书", "/index.php/news/hnxm/1/cn/6110/6066.html",""); menu5.addItem("荣誉证书", "/userlist/hnxm/text-6111.html",""); mtDropDown.renderAll(); } //初始菜单 window.onload = init;