SIMONWALLACE
asked on
Colour changes of a table cell when mouse travels over it
Please find below an exhert of one of my HTML programs:
<table bgcolor="#0047D5" bordercolor="#BOFFFF" border="5" cellspacing="5" cellpadding"5">
<tr>
<a href="index.html" target="_top"><td align="center"><font color="YELLOW">Homepage</f ont></td>< /a></tr>
</table>
I know that I need to use onMouseover and onMouseout to make this cell change when the mouse is placed over it but I can't work out how.
How do I attach an explanation to what the button does when the mouse goes over it.
Thanks very much in advance.
Simon Wallace
<table bgcolor="#0047D5" bordercolor="#BOFFFF" border="5" cellspacing="5" cellpadding"5">
<tr>
<a href="index.html" target="_top"><td align="center"><font color="YELLOW">Homepage</f
</table>
I know that I need to use onMouseover and onMouseout to make this cell change when the mouse is placed over it but I can't work out how.
How do I attach an explanation to what the button does when the mouse goes over it.
Thanks very much in advance.
Simon Wallace
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
e.g.
<input type="image" src="myimage.gif" alt="this text will be shown after hovering for a few secs">
So you could use a button like image for this. You can use the onClick event handler or other event handlers with this of course.
Joseph