1.html代码:
2.js代码:
/*选项卡*/function tbh_notice(){ var oAnnouncement = document.getElementsByClassName('tbh-notice')[0]; var list = oAnnouncement.getElementsByClassName('list'); var listCont = oAnnouncement.getElementsByClassName('list_cont'); var timer = null; // 当鼠标悬停在第一级菜单,显示下面的二级菜单 for(var i=0; i
3.预览图: