Reputation: 11
We are trying to replace a set of four radio buttons with a set of four images, each with its own hover and selected image.
We have sent the radio button off screen using CSS, created the main images to show as the label and also set the hover, but we are experiencing issues with the Javascript/jQuery we are using which adds a 'selected' class to the buttons. It works for the first button, but I am lost on how to replicate this for the other three - your advice on this would be very much appreciated.
The JS Fiddle for this can be seen here:
Upvotes: 0
Views: 760
Reputation: 11
Managed to get it working in the end - here is the code: http://jsfiddle.net/HVk7d/18/ All the best,
Matthew
Upvotes: 1