Hello,
I am creating a new site and would like to be able to change the background image of a cell with onmouseover and onmouseout or something similar (can be javascript). I can get it to work with IE but not NS.
I have used javascript to change the foreground image with onmouseover and onmouseout for both browsers but I cannot seem to get it to work with the background image.
sample code
This works for IE
<td background="image1.jpg" onmouseover="background='image2.jpg'" onmouseout="background='image1.jpg'">
I would very much like a common solution that works with both browsers
I thank you in advance for all the wisdom and assistance in solving my little problem.
I am creating a new site and would like to be able to change the background image of a cell with onmouseover and onmouseout or something similar (can be javascript). I can get it to work with IE but not NS.
I have used javascript to change the foreground image with onmouseover and onmouseout for both browsers but I cannot seem to get it to work with the background image.
sample code
This works for IE
<td background="image1.jpg" onmouseover="background='image2.jpg'" onmouseout="background='image1.jpg'">
I would very much like a common solution that works with both browsers
I thank you in advance for all the wisdom and assistance in solving my little problem.