日期:2014-05-16 浏览次数:20489 次
<style> ul ul {display:none} </style> <script type="text/javascript"> function shownav() { var nav=document.getElementById('nav').children; for(i=0,len=nav.length;i<len;i++) { nav[i].onmouseover=function() { this.children[0].style.display="block"; } nav[i].onmouseout=function() { this.children[0].style.display="none"; } } } </script> </head> <body onload="shownav()"> <ul id="nav"> <li>About <ul> <li>Introduction</li> <li>means</li> <li>Features</li> </ul> </li> <li>About <ul> <li>Introduction</li> <li>means</li> <li>Features</li> </ul> </li> </ul> </body> </html>