View Full Version : CSS Image Rollover

08-17-2006, 02:47 PM
Hi guys,

Does anyone know of a way of doing an image rollover using CSS? I've found articles about using CSS rollovers for navigation, but all I want is an image rollover. The image is also a link to ThickBox js 'popup', which is what is causing a conflict when I add the js image swap, hence the need for the css rollover,

Hope this makes sense!?

08-17-2006, 03:26 PM
You could just add to the javscript already in place. Add a js function for what happens when you mouseover that specific element in the DOM (basically telling it to replace the IMG src attribute value). I'm mostly a theorist when it comes to these things, but if you're not comfortable writing JS using DOM, you need to find someone (or learn it ;))

08-17-2006, 03:30 PM
Thanks domedia,

Havent a clue what DOM is? Or where to start!?

At present my code is:
images/web_crusaders.gif (http://www.kentcrusaders.co.uk?TB_iframe=true&height=450&width=700)

Any help appreciated!

08-17-2006, 07:05 PM
Sorry, I'm not hands on in javascript.
If you don't know js/dom then my guess is that you're not able to modify jQuery or thickbox.