Take the 2-minute tour ×

I need a javascript code for rotating images when clicked on. I would like to rotate about 5 images and have the script go back to the first image when all five images have been clicked on.

I have tried to solve this with behaviors in dreamweaver but with no sucsess. Can anyone help me with this problem! That would be great! I dont have any experience in coding.


share|improve this question
Welcome to the SO community, if it's not worth your time to ask the question in a well-formatted manner, what makes it worth our time to answer it? –  zzzzBov Feb 2 '11 at 19:05
Ah, this is a programmer's discussion forum. If you have no experience coding, then the answers won't be of much use to you. If you are a programmer, what you are asking about is called an "image rotator." You can do this using the jQuery framework for javascript. Try looking in stackoverflow.com/search?q=jquery+image+rotator –  Cheeso Feb 2 '11 at 19:10
add comment

2 Answers

something like this:



share|improve this answer
add comment

Your Answer


