rodi: aufklappbares Untermenü

Beitrag lesen

hallo raven, wahsaga,
meint ihr dies??
<!--[if IE]>
  <script type="text/javascript" defer="defer">
   // Script, das im IE Untermenüs anzeigt
   li = document.getElementsByTagName("li");
   for(i=0;i<li.length;i++)
   {
    li[i].onmouseover = function()
    {
     this.style.background = "#0A246A";
     this.style.color = "#fff";
     for(n=0;n<this.childNodes.length;n++)
      if(this.childNodes[n].tagName == "UL")
       this.childNodes[n].style.display = "block";
    }
    li[i].onmouseout = function()
    {
     this.style.background = "";
     this.style.color = "";
     for(n=0;n<this.childNodes.length;n++)
      if(this.childNodes[n].tagName == "UL")
       this.childNodes[n].style.display = "none";
    }
   }
  </script>
  <style type="text/css">
   #menu li ul
   {
    margin-top:    15px;
    margin-left:   -38px;
   }
   #menu li ul li
   {
    margin-left:   0;
    padding-left:   0;
   }
  </style>
  <![endif]-->