I got .each to work with the fine new .delay function, and it fades things in as I expect. The following fades thirteen paragraphs in, going down the page. But when I add fadeOut to the queue, all the paragraphs jump up to the top and fade out, instead of staying in place. Any ideas?
- jQuery(function(){
- jQuery('p').hide();
- jQuery('p').each(function(i){
- jQuery(this).delay(i*1000).fadeIn('slow');
- }
- );
- });
- jQuery(this).delay(i*1000).fadeIn('slow').fadeOut('slow');