I have 6 images.
When they are rolled over the images change using css hover.
When the images are clicked the original image appears (again using css) but I want the rest of the images to dim when one is selected.
I’ve been looking into various JS option but just cant seem to get it to work. Does anyone have any suggestions?
I have 6 images. When they are rolled over the images change using css
Share
Another solution is adding a class to the selected image and the images parent.
This makes it easier to maintain as the styling is all done in css.
Quick example here:
css
js
html
http://jsfiddle.net/renekoch/y6YCc/