sequentially delayed fading in with jquery
<p>I have some array data returned from an ajax call consisting of an image link, some title text and a link.  I am adding each element of this array to a div on the page by using the jQuery append method and the fading it in.  Because it's executing so fast all the elements fade in at the same time.  I'd like each one to fade in sequentially.  So, when the element is added to the main div, fade in and then pause the .each statement for about 100 milliseconds before adding the next element.  However I'm not sure how to do this.  Any ideas?  Here's my code.</p>

<pre><code>jQuery.each(data.themes, function (index){

    theme_html = "&lt;div class=\"themePreviewWrap\" id=\"theme_" + index + "\" style=\"display:none;\"&gt;&lt;div class=\"themePreview\"&gt;&lt;img src=\"" + data.themes[index]['custom_color_screenshot'] + "\" /&gt;&lt;/div&gt;&lt;div class=\"themePreviewButtom\"&gt;&lt;div class=\"title\"&gt;&lt;b&gt;" + data.themes[index]['title'] + "&lt;/b&gt;&lt;/div&gt;&lt;div class=\"link\"&gt;" + data.themes[index]['actions'] + "&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;";

    jQuery('#themeholder').append(theme_html);

    jQuery("#theme_" + index).fadeIn(500);

});
</code></pre>
