Sequentially $()show from within a function
<p>I use a function that onclick runs to read an xml catalog and opens a thumbnail for each catalog entry.</p>

<p>I want the script to open each thumb suquentially. And logically I feel it should do that as the show command is at the end of the for loop. But the function runs and all the thumbnails show at the same time. How can I change this? Why does this happen?</p>

<pre><code>function showproductthumbnails() {

for (i=0;i&lt;xmlcatalog.length;i++){ 

$(catalogitem+i).show("fold", {size:3}, 300);   

}

}
</code></pre>

<p>Note that the code above is just the abstract with the meat taken out, but the problem remains.</p>
