Toon posts:

<TR> onmouse background change??

Pagina: 1
Acties:
  • 31 views sinds 30-01-2008

Verwijderd

Topicstarter
Hoe kan ik in een TableRow de achtergrond laten veranderen doormiddel van onmouse. Het is me wel gelukt met kleuren en in een Table Collum. Is het uberhaupt wel mogelijk om in een tablerow de achtergrond te veranderen met onmouse.

Hier enkele codes die ik heb gebruikt en wel werken:
code:
1
2
3
4
5
<table>
<tr>
<td onmouseover="this.background = '../images/navigatie-verloop.gif'; style.cursor='hand'" onMouseOut="this.background ='';">columnaam</td>
</tr>
</table>

code:
1
2
3
4
5
<table>
<tr height="12" class="spatie" bgcolor="#FFFFFF" style="cursor:hand;" onMouseOver="this.style.backgroundColor='#eeeeee';" onMouseOut="this.style.backgroundColor='#ffffff';">
<td>linkje</td>
</tr>
</table>


Zou iemand mij kunnen vertellen of dit mogelijk is??

  • McVirusS
  • Registratie: Januari 2000
  • Laatst online: 21-08 10:46
Beetje zoeken en logisch nadenken.

JavaScript:
1
onmouseover="this.style.backgroundImage = 'url(plaatje.gif)'";

Dit topic is gesloten.