I\'m trying to write a jquery function that loops through an unordered list (the ul element having the id \"intro\") and individually fades in and fades out each element. This
function startAnimations(){ $("#intro").hide(); $("#intro li").each(function() { var _this = $(this); _this.fadeIn(3000, function(){ _this.fadeOut(3000); }); }); }