How to open and close a popup window after it's completely loaded (in a loop)?
<p>i have something like this for my own little bookmarklet:</p>

<pre><code>jQuery('#fire').click(function() {
for (counter=0; counter&lt;links; counter++) {
 var currentLink = jQuery('body').find('.imageWrap:eq('+counter+')').attr("href");
 var newWindow = window.open(currentLink);
    /* and here close the popup when the site is completely loaded */
}
});
</code></pre>

<p>can anyone help me out?</p>
