Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.fn.slideShow = function(fadeIn, delay, fadeOut){
- function recursiveFade(jq){
- if(jq.length !== 0)
- jq.fadeIn(fadeIn).delay(delay).fadeOut(fadeOut).queue(function(){
- recursiveFade(jq.next());
- $(this).dequeue();
- });
- }
- recursiveFade(this.children().first());
- }
- $(function(){$('.herocontent1').slideShow(3000, 1000, 3000)}
- (function (){ until.play(); })
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement