日期:2014-05-17 浏览次数:20759 次
<ul id="tabnav"> <li id="XMLSearch" class="site_tab_normal" onclick="showXMLSearch()"><a href="#">文档搜索</a></li> <li id="dwSearch" class="site_tab_active" onclick="showDWSearch()"><a href="#" >杜威搜索</a></li> </ul>
document.getElementById("XMLSearch").style.className="site_tab_active"; document.getElementById("dwSearch").style.className="site_tab_normal"; document.getElementById("div_XMLSearch").style.display="block"; document.getElementById("div_dwSearch").style.display="none";