Andreas van Loock: netscape und dhtml(nervend)

Beitrag lesen

Vielleicht ist dies auch ein Lösungansatz

Habe dieses Probs auch mal gehabt, nur habe ich ein Trans.gif über die jeweiligen LINKS gelegt versehen
mit eine mouseover und mouseout, dann einfach mit css farbe vom Link getauscht, fett und kursiv und das zeugs geht
natürlich auch...............

cya

<HTML>
  <script>
  function hilite(what){
  if (what =="inherit"){push2.visibility=what;push.visibility="hidden";}
  if (what =="hidden"){push2.visibility=what;push.visibility="inherit";}
  }
  </script>
  <BODY>
  <div id="a1" style="z-index:1; position:absolute;visibility:inherit;top: 0; left: 0;"><a href="#" onmouseover="hilite('inherit');">Dies ist ein Test</a></div>
  <div id="a2" style="z-index:2; position:absolute;visibility:hidden;top: 0; left: 0;"><a href="#" onmouseover="hilite('hidden');"><b>Dies ist ein Test</b></a></div>
  <script>
  var n = (document.layers) ? 1:0;push=eval("window.document.a1");push2=eval("window.document.a2");
  var ie = (document.all) ? 1:0;var  push=eval("a1.style");var  push2=eval("a2.style");
</script>      
      </BODY>
</HTML>