选项卡的切换怎么实现不了?
<script type="text/javascript">
window.onload= function(){
// JS实现选项卡切换
var as= document.getElementsByTagName("a");
var div= document.getElementsByTagName("div");
for(var i=0;i<as.length;i++){
as[i].onmouseover= function(i){div[i].className="hide";}
}
}
</script>