if (mtDropDown.isSupported()) { var ms = new mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft); var menu1 = ms.addMenu(document.getElementById("mainmenu1")); menu1.addItem("新闻动态", "/index.php/news/cdjzxh/1/cn/555/1.html",""); var menu2 = ms.addMenu(document.getElementById("mainmenu2")); menu2.addItem("协会简介", "/userlist/cdjzxh/text-489.html",""); menu2.addItem("协会章程", "/userlist/cdjzxh/text-490.html",""); menu2.addItem("协会组织机构", "/userlist/cdjzxh/text-491.html",""); menu2.addItem("协会会员单位", "/index.php/news/cdjzxh/1/cn/492/485.html",""); menu2.addItem("协会文件", "http://www.cdjzyxh.com/?action=news|cdjzxh|388|cn|473|473","_blank"); menu2.addItem("协会公告", "/index.php/news/cdjzxh/1/cn/494/485.html",""); var menu5 = ms.addMenu(document.getElementById("mainmenu5")); menu5.addItem("先进会员表彰", "/index.php/news/cdjzxh/1/cn/558/486.html",""); menu5.addItem("质量安全通报", "/index.php/news/cdjzxh/1/cn/559/486.html",""); menu5.addItem("精神文明建设", "/index.php/news/cdjzxh/1/cn/560/486.html",""); menu5.addItem("经验介绍", "/index.php/news/cdjzxh/1/cn/561/486.html",""); var menu6 = ms.addMenu(document.getElementById("mainmenu6")); menu6.addItem("科技要闻", "/index.php/news/cdjzxh/1/cn/563/562.html",""); menu6.addItem("建筑四新", "/index.php/news/cdjzxh/1/cn/564/562.html",""); menu6.addItem("推广项目", "/index.php/news/cdjzxh/1/cn/565/562.html",""); var menu7 = ms.addMenu(document.getElementById("mainmenu7")); menu7.addItem("国家法律", "/index.php/news/cdjzxh/1/cn/513/474.html",""); menu7.addItem("行政法规", "/index.php/news/cdjzxh/1/cn/514/474.html",""); menu7.addItem("地方法规", "/index.php/news/cdjzxh/1/cn/515/474.html",""); menu7.addItem("行业法规", "/index.php/news/cdjzxh/1/cn/516/474.html",""); mtDropDown.renderAll(); } //初始菜单 window.onload = init;