Guest User

Untitled

a guest
Jan 13th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. function moveUps() {
  2. function appendIt() {
  3. $('.flower').append(currentImage);
  4. }
  5. if (pause === false) {
  6. counter > (numSlides - 1) ? counter = 0 : counter++;
  7. if (init === true) {
  8. counter = 0;
  9. init = false;
  10. }
  11. $('.flower img').css('width','630px');
  12.  
  13. var currentImage = $(allImages[counter]).animate({ width: '0px'}, 3000);
  14. setTimeout(appendIt, 3000);
  15.  
  16. t = setTimeout(moveUps, 5000);
  17. }
  18. else {
  19. pauseSlide();
  20. }
  21. }
Add Comment
Please, Sign In to add comment