webmonk: Mal wieder Divs mit Netscape (nicht hauen bitte !)

Beitrag lesen

hi!
habe zwar keine Ahnung was das Script bewirken soll aber hier vielleicht die Lösung:
<html>
<body>
<script language='JavaScript'>
function hide(id)
{
  if (document.layers)
  {
    if (document.layers[id])
      document.layers[id].visibility = "hidden";
  }
  else if (document.all)
    document.all[id].style.visibility = "hidden";
  else if (document.getElementById)
    document.getElementById(id).style.visibility = "hidden";
}

function show(id)
{
  if (document.layers)
  {
    if (document.layers[id])
      document.layers[id].visibility = "visible";
  }
  else if (document.all)
    document.all[id].style.visibility = "visible";
  else if (document.getElementById)
    document.getElementById(id).style.visibility = "visible";
}
function wechsel(inout)
{
 if (inout=="in")
   show("RS12");
 else
   hide("RS12");
}
</script>
    <div id="RS12" style='visibility:visible;'>
    <a href='rubbeldiekatz.html' onmouseover="wechsel('in');" onmouseout="wechsel('out');">Dies ist ein Test</a>
  </div>
</body>
</html>

i hope i helped u!
webmonk!