|
Changing textcolor on MouseOver
Hi,
I'm new to JavaScript so this may sound stupid, but I can't change my textcolor on mouseover.
This is my code:
<td class="linkCursor">
<a onClick="top.window.close()" onMouseover="this.style.fontColor='blue'">Sluit
venster</a></td>
The linkCursor class only changes the cursor into a hand so that it looks like a regular link.
I've looked on a tutorial site and came up with the this.style.backgroundColor='blue' but it seems fontColor does not work. Nor does color or textColor by the way.
Thanks a lot,
Florens
__________________
Florens
|