slow jquery performance
<p>I have about 200 small icons (4kb) on my web page
on click on a menu i want the icons to dim out 
im using this function</p>

<pre><code>if (which!="all")
{                                   
    $(function () {
        // SET OPACITY  TO 20%
        $("."+which).stop().animate({opacity: '0.2'}, 100);
    });
}
</code></pre>

<p>for some reason the performance is very slow and it takes a long time for the icons to dim out
How can i speed up the performance ?</p>

<p>thanks </p>
