When I hover a number a rating shows, but when I click on that number the rating does not stay visible. For some reason it works fine when I user background color instead of background url. Can someone please help me with this?
The end result should be as followed:
1 – hover an number and a rating image should appear.
2 – when a number is selected, that rating images should stay visible.
3 – when another number is selected that rating image should appear while the previous image fades.
Here is a demo link.
How’s this?
http://jsfiddle.net/uCZ6q/
HTML:
CSS:
Script: