Michael Geib: MouseOver bei Tabellen?? Geht das???

Hallo Forumler unn gunn dach,

Hier habe ich meine Tabelle:

<div align="center">
  <center>
  <table border="0" width="70%" cellspacing="0" cellpadding="0" height="2%">
    <tr>
      <td width="20%" bgcolor="#C0C0C0" align="center" height="2%">
        <div align="center">
          <table border="0" width="100%" height="18">
            <tr>
              <td width="100%" align="center" height="14">
                <p><b><font face="Arial" color="#000000" size="2">Home</font></b></p>
              </td>
            </tr>
          </table>
        </div>
      </td>
      <td width="20%" bgcolor="#C0C0C0" align="center" height="2%">
        <div align="center">
          <table border="0" width="100%">
            <tr>
              <td width="100%" align="center">
                <p><b><font face="Arial" color="#000000" size="2">Impressum</font></b></p>
              </td>
            </tr>
          </table>
        </div>
      </td>
      <td width="20%" bgcolor="#C0C0C0" align="center" height="2%">
        <div align="center">
          <table border="0" width="100%">
            <tr>
              <td width="100%" align="center">
                <p><b><font face="Arial" color="#000000" size="2">Unternehmen</font></b></p>
              </td>
            </tr>
          </table>
        </div>
      </td>
      <td width="20%" bgcolor="#C0C0C0" align="center" height="2%">
        <div align="center">
          <table border="0" width="100%">
            <tr>
              <td width="100%" align="center">
                <p><b><font face="Arial" color="#000000" size="2">Stellenangebote</font></b></p>
              </td>
            </tr>
          </table>
        </div>
      </td>
      <td width="20%" bgcolor="#C0C0C0" align="center" height="2%">
        <div align="center">
          <table border="0" width="100%">
            <tr>
              <td width="100%" align="center">
                <p><b><font face="Arial" color="#000000" size="2">Kontakte</font></b></p>
              </td>
            </tr>
          </table>
        </div>
      </td>
    </tr>
    <tr>
      <td width="20%"><b><font face="Arial" size="3"><img src = "images/schatten.gif" width = 100% height = 6></font></b></td>
      <td width="20%"><b><font face="Arial" size="3"><img src = "images/schatten.gif" width = 100% height = 6></font></b></td>
      <td width="20%"><b><font face="Arial" size="3"><img src = "images/schatten.gif" width = 100% height = 6></font></b></td>
      <td width="20%"><b><font face="Arial" size="3"><img src = "images/schatten.gif" width = 100% height = 6></font></b></td>
      <td width="20%"><b><font face="Arial" size="3"><img src = "images/schatten.gif" width = 100% height = 6></font></b></td>
    </tr>
  </table>

Bei den einzelnen TAbelleneinträgen wie Home, Impressum, ....
soll nun der Zellen Hintergrund via MouseOver geändert werden.

Meine Frage?: Geht das? und wenn Ja wie?

denn im Forumsarchive habe ich gesucht und auch einiges gefunden nur kann ich das irgendwie nicht benutzen in sachen html bin ich noch anfänger bzw. amateur. jenachdem.  ich hoffe auf eure hilfe.

Danke im voraus

tschüss

Michael

  1. Bei den einzelnen TAbelleneinträgen wie Home, Impressum, ....
    soll nun der Zellen Hintergrund via MouseOver geändert werden.
    Meine Frage?: Geht das?

    Hallo Michael,

    Alle deine Fragen werden in SELFHTML bereits beantwortet!

    MouseOver wird in folgenden Tags akzeptiert:

    <../../tcmb.htm>

    <a> <abbr> <acronym> <address> <area> <b> <big> <blockquote> <body> <button> <caption> <center> <cite> <code> <col> <colgroup> <dd> <del> <dfn> <dir> <div> <dl> <dt> <em> <fieldset> <form> <h1> <h2> <h3> <h4> <h5> <h6> <hr> <i> <img> <input> <ins> <kbd> <label> <legend> <li> <link> <map> <menu> <noframes> <noscript> <object> <ol> <optgroup> <option> <p> <pre> <q> <s> <samp> <select> <small> <span> <strike> <strong> <sub> <sup> <table> <tbody> <td> <textarea> <tfoot> <th> <thead> <tr> <tt> <u> <ul> <var>

    PS: Wofür brauchen wir den Quellcode deiner ganzen Tabelle, wenn du nur wissen willst, ob der Event-Handler OnMouseOver auch in Tabellen unterstützt wird???

    und wenn Ja wie?

    setAttribute()

    <../../tecbbaa.htm>

  2. Hi Michael,

    lass das nächte mal bitte den ganzen Quelltext weg.
    Du kannst es auch mit CSS machen - das geht aber nur mit neueren Browsern.
    ( z.b. classe menue:
      A.menue:Hover {Background:#EEEEEE; }
    )

    Jan

    1. servus

      lass das nächte mal bitte den ganzen Quelltext weg.
      Du kannst es auch mit CSS machen - das geht aber nur mit neueren Browsern.

      von microsoft. der navigator unterstüzt den hover erst ab 6.

      grüße
      FICHTL

  3. Hallo,

    danke für eure hilfe, das mit CSS und den event-handler ist ganz gut
    nur kann ich damit nichts anfangen weil ich nicht weis wie ich diese in meinen quelltext einbauen soll. CSS klappt doch nicht mit NS oder?

    Ich hoffe das ihr mir helfen könnt.

    Danke

    Michael