- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › [Solved] Select/Deselect Single/Multiple Images with a Click
I want to have an image quiz where users can select/deselect image(s).
Currently, I have the issue i.e. users can only select/deselect if it is clicked on middle of the image (where CHECKED image is placed with opacity 0/1).
In other words the click event is attached to CHECKED image, if I attach it to the selectable image than it won’t be selectable from middle (where the CHECKED image is hidden).
I want it to be selectable by clicking on any part of the image and not just the checked icon image.
Also, I would like the Next Step button to be hidden until an image is selected.
Attach the click event to the wrapping anchor and adjust accordingly…
Can you help me with the pen?
Oh…and one with the ‘button thing’ you mentoned done.
Amazing Paulie_D. Made my day.
Exactly what I wanted. Thanks a lot.