Dropdown-Menu

 

 

 

 

 

Javascript (sólo para IE)


dropDown = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("menu");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" mover";
  }
node.onmouseout=function() {
this.className=this.className.replace (" mover", "");
    }
   }
  }
 }
}
window.onload=dropDown;

Índice Capítulo 7
Contenido material adicional