if (mtDropDown.isSupported()) { var ms = new mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft); var menu2 = ms.addMenu(document.getElementById("mainmenu2")); menu2.addItem("ABOUT US", "/index.php/text/qinhangwl/1/cn/4450/4283.html",""); mtDropDown.renderAll(); } //初始菜单 window.onload = init;