// 兼容IE FF的ByName方法 var FgetElementsByName = function (fatherid, tag, name) { var returns = document.getElementsByName(name); returns = new Array(); var e = document.getElementById(fatherid).getElementsByTagName(tag); for (var i = 0; i < e.length; i++) { if (e[i].getAttribute("Fname") == name) { returns[returns.length] = e[i]; } } return returns; } function fuyunSetTab(fobj, obj, maintag, tabtag, tabclass) { var temp = FgetElementsByName("fuyun20150814", maintag, fobj); var temp1 = FgetElementsByName("fuyun20150814", tabtag, fobj + "_"); for (var i = 0; i < temp1.length; i++) { if (temp1[i] == obj) { temp[i].style.cssText = "display:block"; temp1[i].className = tabclass; } else { temp[i].style.cssText = "display:none"; temp1[i].className = ""; } } }

首页
>>教育动态>>公告公示

公告公示