Website Navigation

    • Website Navigation

      Hi,
      Ich habe eine Navigation für meine Website erstellt, die ihre Hintergrundfarbe ändert , wenn man über die jeweilige Tabelle fährt. Um jedoch einen Menüpunkt anklicken zu können, muss man die Schrift anklicken (Home, Impressum...). Jedoch will ich es so lösen, dass man nur auf die jeweilige Tabelle klicken muss, um auf die Unterseite zu kommen. Ich weiss, etwas wunderlich geschildert :ugly: Also gibt es dafür vielleicht ne Lösung?
      Aktuell lautet der HTML-Code der Navigation so:

      <td onMouseOver="style.backgroundColor='99B970'; return true" onMouseOut=style.backgroundColor=''
      bgcolor="C0D6C0"><b><font face="Verdana Ref"> <a href="projects.htm" target="">
      <font color="#000000">Projekte</font></a></font></b></td>
      </tr><tr> <td onMouseOver="style.backgroundColor='99B970'; return true" onMouseOut=style.backgroundColor=''
      bgcolor="C0D6C0"><b><font face="Verdana Ref"> <a href="jobs.htm" target="">
      <font color="#000000">Jobs</font></a></font></b></td>
      </tr><tr> <td onMouseOver="style.backgroundColor='99B970'; return true" onMouseOut=style.backgroundColor=''
      bgcolor="C0D6C0"><b><font face="Verdana Ref"> <a href="downloads.htm" target="">
      <font color="#000000">Downloads</font></a></font></b></td>
      </tr><tr> <td onMouseOver="style.backgroundColor='99B970'; return true" onMouseOut=style.backgroundColor=''
      bgcolor="C0D6C0"><b><font face="Verdana Ref"> <a href="about.htm" target="">
      <font color="#000000">Über uns</font></a></font></b></td>
      </tr><tr> <td onMouseOver="style.backgroundColor='99B970'; return true" onMouseOut=style.backgroundColor=''
      bgcolor="C0D6C0">
      <p align="justify"><b><font face="Verdana Ref">
      <a href="impressum.htm">
      <font color="#000000">Impressum</font></a></font></b></td>
      </tr></table>


      Danke im vorraus für eure Hilfe!
      MFG Marco
    • Probiere es mal so ;)
      <td onclick="window.location.href ='projects.htm';"
      onMouseOver="style.backgroundColor='99B970'; return true" onMouseOut=style.backgroundColor=''
      bgcolor="C0D6C0"><b><font face="Verdana Ref">
      <font color="#000000">Projekte</font></font></b></td>
      </tr><tr> <td onclick="window.location.href ='jobs.htm';" onMouseOver="style.backgroundColor='99B970'; return true" onMouseOut=style.backgroundColor=''
      bgcolor="C0D6C0"><b><font face="Verdana Ref"><font color="#000000">Jobs</font></font></b></td>
      </tr><tr> <td onclick="window.location.href ='downloads.htm';" onMouseOver="style.backgroundColor='99B970'; return true" onMouseOut=style.backgroundColor=''
      bgcolor="C0D6C0"><b><font face="Verdana Ref">
      <font color="#000000">Downloads</font></font></b></td>
      </tr><tr> <td onclick="window.location.href ='about.htm';" onMouseOver="style.backgroundColor='99B970'; return true" onMouseOut=style.backgroundColor=''
      bgcolor="C0D6C0"><b><font face="Verdana Ref">
      <font color="#000000">Über uns</font></font></b></td>
      </tr><tr> <td onclick="window.location.href ='impressum.htm';" onMouseOver="style.backgroundColor='99B970'; return true" onMouseOut=style.backgroundColor=''
      bgcolor="C0D6C0">
      <p align="justify"><b><font face="Verdana Ref">
      <font color="#000000">Impressum</font></font></b></td>
      </tr></table>