Apologies if this has been asked before, but I'm in need of your assistance.
Here's what I'm looking for:
Imagine I have an image that is clickable in its normal state: https://i.sstatic.net/pGYyG.png
Now, when I click on that image, I want it to fade into this other image: https://i.sstatic.net/bUPmP.png
Could someone please advise me on how to code this image selection on click? Or if it's not possible to do on click, what other methods can be used?
EDIT: I also forgot to mention. If there are two selection choices... If I click on one choice, it should fade in while the other fades out, and vice versa for the second choice...