Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Rotating images with jQuery..?

What I'm after is not a slideshow first and for most although is closely linked to one its for a game. And when an image is clicked the image will turn from yellow to blue if clicked again it would go from blue to red and finally click it again it would go red back to yellow.

There are around 25 of these images times that by three so 75 small images on screen each set of three need to cycle on their own with no effect to the other images.

I would know how to make a working code which rotates 1 set of three images and make it repeat for all 75 but what I'm after is a guiding hand to get me started on being able to rotate 1 set of 3 images so one shape from yellow - blue - red that's it.

Any ideas thanks for the help.

Update:

To clarify

1 yellow shape and a hidden red and blue shape when the yellow shape is clicked blue will appear click it again red appears click it again yellow appears and so on.

I'm more after altering the file path of the image on click

Thanks again.

1 Answer

Relevance
Still have questions? Get your answers by asking now.