Anonymous function in setTimeout not working
<p>I'm trying to create a delay between two loops of the nivo-slider.</p>

<p>Without the <code>setTimeout</code> everything works just fine (but without delay). So the folloing example works:</p>

<pre><code>$('#slider').nivoSlider({
        lastSlide: function(){ 
                $('#slider').data('nivo:vars').stop = true;
//              setTimeout(function() {
                        $('#slider').data('nivo:vars').stop = false;
//              }, 2000);
        },
});
</code></pre>

<p>If I uncomment the setTimeout-lines the slider stops but does not start again? Any ideas why?</p>

<p>Update:
<a href="http://jsfiddle.net/kgYNX/" rel="nofollow">http://jsfiddle.net/kgYNX/</a></p>

<p>2nd update:
Tried it with a wrapping function, too. The function gets called but if I use setTimeout in the new function it stops working: <a href="http://jsfiddle.net/kgYNX/1/" rel="nofollow">http://jsfiddle.net/kgYNX/1/</a></p>
