Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function moveUps() {
- function appendIt() {
- $('.flower').append(currentImage);
- }
- if (pause === false) {
- counter > (numSlides - 1) ? counter = 0 : counter++;
- if (init === true) {
- counter = 0;
- init = false;
- }
- $('.flower img').css('width','630px');
- var currentImage = $(allImages[counter]).animate({ width: '0px'}, 3000);
- setTimeout(appendIt, 3000);
- t = setTimeout(moveUps, 5000);
- }
- else {
- pauseSlide();
- }
- }
Add Comment
Please, Sign In to add comment