Advertisement
krambal

Untitled

Sep 6th, 2015
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $.fn.slideShow = function(fadeIn, delay, fadeOut){
  2.             function recursiveFade(jq){
  3.               if(jq.length !== 0)
  4.                 jq.fadeIn(fadeIn).delay(delay).fadeOut(fadeOut).queue(function(){
  5.                 recursiveFade(jq.next());
  6.              $(this).dequeue();
  7.              });
  8.           }
  9.             recursiveFade(this.children().first());
  10.         }
  11.         $(function(){$('.herocontent1').slideShow(3000, 1000, 3000)}
  12.         (function (){ until.play(); })
  13.         )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement