However, now I am stuck!
I try to make an image appear or disappear as it is clicked. Just simply to toggle the img on and off.
I tried the Image Button component but that only changes the image if the click is held down (or rolled over). I'm trying to do basic img toggle (like a light switch).
As background if this helps the overview....There will be around 30 of the same image on the page which need to act independently in this toggling (display :block, display :none)? way.
Any pointers from anyone would be really welcomed.
Thanks!
Yes - I had got that far. I can event manage the image to do (e.g.)opacity 0 with a click. Thats all good.
Where I am stuck is how to get (e.g.) opacity back to 1 with a subsequent click of the same image.
So, my goal is
First click - img opacity 0
Second click - img opacity 1
Thanks for guidance!