Once again, I'm posting because fucking Javascript makes me crazy.
Here's what I'm trying to do:
Very simply, I want to use images for radio buttons.
Three radio buttons, 6 images. Pretty simple, in theory.
Or maybe 4 radio buttons and 6 images... whatever.
Here's what I envision (and I see it fucking working all over the web, but all the examples I've tried to make work have failed - yes, I've used Google and Bing and tried no less than a dozen different examples):
You arrive at the site. There are three choices:
- Choice A shows an Apple with a green checkmark, it is selected by default. The unselected version would be just an apple.
- Choice B has a picture of an orange. When selected, it shows an orange and a green checkmark
- Choice C has a picture of a banana. When selected it shows a banana with a green checkmark.
Pretty simple, right?
How can I implement different images for each radio button? OR if it's simpler, how can I change the damn radio button to images? Unchecked box when unselected, checked box when selected?
Thanks!
Here's what I'm trying to do:
Very simply, I want to use images for radio buttons.
Three radio buttons, 6 images. Pretty simple, in theory.
Or maybe 4 radio buttons and 6 images... whatever.
Here's what I envision (and I see it fucking working all over the web, but all the examples I've tried to make work have failed - yes, I've used Google and Bing and tried no less than a dozen different examples):
You arrive at the site. There are three choices:
- Choice A shows an Apple with a green checkmark, it is selected by default. The unselected version would be just an apple.
- Choice B has a picture of an orange. When selected, it shows an orange and a green checkmark
- Choice C has a picture of a banana. When selected it shows a banana with a green checkmark.
Pretty simple, right?
How can I implement different images for each radio button? OR if it's simpler, how can I change the damn radio button to images? Unchecked box when unselected, checked box when selected?
Thanks!