Daniel: hintergrundbild von tabellenzellen dynamisch ändern

Beitrag lesen

könnt ihr mir da weiterhelfen?

Hallo,

so sollte es funktonieren:

<td style="background-image:url(bild1.jpg);" onMouseover="this.style.backgroundImage='url(bild2.jpg)'" onMouseout="this.style.backgroundImage='url(bild1.jpg)'">
    <ilayer width="100%"><layer width="100%" onMouseover="this.background.src='bild2.jpg'" onMouseout="this.background.src='bild1.jpg'">
    Inhalt
    </layer></ilayer></td>
  </td>

die onMouseOver- und onMouseOut-Attribute im td-Tag sind für IE (ab IE5) und NS6
die layer-Tags sind für den NS4

Daniel

gruss stefan