if (mtDropDown.isSupported()) { var ms = new mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft); var menu7 = ms.addMenu(document.getElementById("mainmenu7")); menu7.addItem("工作入点", "#",""); menu7.addItem("创业园地", "/index.php/news/xptj/1/cn/85068/85065.html",""); menu7.addItem("展鹰学堂", "#",""); mtDropDown.renderAll(); } //初始菜单 window.onload = init;