Advertisement
Guest User

Untitled

a guest
Jun 14th, 2015
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (i == 0)
  2.             {
  3.                 imgs.eq(0).css({opacity: 1});
  4.                 imgs.eq(1).css({opacity: 0});
  5.                 imgs.not(':eq(0)').animate({ opacity: 0 }, options.fadeSpeed);
  6.                 i++;
  7.             }
  8.             else
  9.             {
  10.                 imgs.eq(i).animate({ opacity: 1 }, options.fadeSpeed);                 
  11.                 if (++i >= count) i = 0;
  12.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement