I have two groups of images (A & B) which I display next to each other. Each group rotates on a 6 sec interval. I use setInterval() to achieve this. This works.
I want to modify my code to have Group B rotate 3 sec later than Group A. Both sets still change every 6 sec. How can I do this.
Should I use another setInterval()?
Is there some way to add a 3 sec hold on the execution of code at a particular part of my program?
Any ideas? Thanks.
I want to modify my code to have Group B rotate 3 sec later than Group A. Both sets still change every 6 sec. How can I do this.
Should I use another setInterval()?
Is there some way to add a 3 sec hold on the execution of code at a particular part of my program?
Any ideas? Thanks.