用js实现菜单导航功能

来源:互联网 发布:买软件的市场 编辑:程序博客网 时间:2024/04/29 08:41

 A href="Javascript:onChange(1)

script language="Javascript"

 function onChange(i){ childSort=document.all("child" + i); //theTd=document.all("td" + i); if(childSort.style.display=="none"){ // theTd.bgcolor="#ffffff"; childSort.style.display="";} else{ // theTd.bgcolor="#000000"; childSort.style.display="none";} }

/script>

原创粉丝点击