Log in

View Full Version : Image swap on hover



rhes
05-07-2009, 08:00 AM
I am trying to replicate the image swap feature that is on the BBC home page. So when you hover on the button, the image changes and the button colour changes. However, when you hover off the button elsewhere on the page, the colour remains highlighted.

Whilst I can achive the image swap effect, I cannot get the onmouseout effect to be the same. Any ideas?? Can I do this in CSS or will I have to do the whole thing using javascript?

Thanks in advace.

bluewalrus
05-08-2009, 05:26 AM
Dont know what your refering to... Link? Where it is on the site...