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
Try
function startAnimations() { $("#intro li").hide(); function loop() { var $li = $("#intro li:first-child").fadeIn(3000, function () { $li.fadeOut(3000, function () { $li.appendTo('#intro');; loop() }) }); } loop() }
Demo: Fiddle