Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (i == 0)
- {
- imgs.eq(0).css({opacity: 1});
- imgs.eq(1).css({opacity: 0});
- imgs.not(':eq(0)').animate({ opacity: 0 }, options.fadeSpeed);
- i++;
- }
- else
- {
- imgs.eq(i).animate({ opacity: 1 }, options.fadeSpeed);
- if (++i >= count) i = 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement