if (mtDropDown.isSupported()) { var ms = new mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft); var menu4 = ms.addMenu(document.getElementById("mainmenu4")); menu4.addItem("行业新闻", "/index.php/news/shuilingyacom/1/cn/3876/1008.html",""); mtDropDown.renderAll(); } //初始菜单 window.onload = init;