function showElement(){ element = showSection.find("ul li"); Length = element.length; function showEl(i){ if(i<Length){$(element[i]).fadeIn(500,function (){i++;showEl(i);}); } showEl(0); }