Danny: Lösungsvorschlag

Beitrag lesen

<html>
 <head>
  <title>Test</title>
  <style type="text/css">
  <!--
  .navi2 { color: #0000ff; }
  .naviOver2 { color: #ff0000; }
  -->
  </style>
  <script type="text/javascript">
  <!--
  function onOver(cn)
  {
   cn = 'naviOver2';
   document.bild.src = 'bild.gif';
  }
  function onOut(cn)
  {
   cn = 'navi2';
   document.bild.src = 'px.gif';
  }
  function loadPage()
  {
   // hier Seite laden
  }
  //-->
  </script>
 </head>
 <body>
  <table class="navi2" onmouseover="onOver(this.className);" onmouseout="onOut(this.className);" onclick="loadPage('stuff.asp', '')" cellSpacing="0" cellPadding="0" width="173" border="1">
   <tr>
    <td bgcolor="#fffff" width="141" height="16">Test</td>
   </tr>
  </table>
  <img name="bild" src="px.gif" alt="bild"></td> <!-- hier wird auf ein leeres Bild (z.B. Transparentes 1x1 GIF) verwiesen -->
 </body>
</html>