Hello.
I have the following simple code.
- $.each(['red','green','blue','black','orange','yellow'], function(index,value) {
- $('.all_img').stop().animate({"opacity": "0"}, "slow");
- $('#img_' + value).stop().animate({"opacity": "1"}, "slow");
- # some delay here
- });
Just to show images one after another. But it seems i have some problems with understanding how each() method works. So i see only one image animation instead of 5.
Could you please clarify?
Thanx