Home > Javascript > Background Image Rollover

Background Image Rollover

November 23rd, 2009

I need a bit of code to create a rollover effect.

What I am working with right now is a table cell that has a background image, the image is faded. When someone rolls over the image we want it to lighten slightly to give a roll-over effect.

In that table cell or on top of that image is plain-text. It needs to appear on top of the image and have no effects when the cell is rolled-over.

Javascript or css; whatever works as long as it’s compatible across IE, Firefox and Safari.


Background Image Rollover