Effect queue and stop not working correctly
Hello,
I have this line:
$('#target').stop(true,true).show().delay(3000).fadeOut(1000);
This should work as following:
1. initial state of target is hidden.
2. target is "activated" and sequence is run, the target appears.
3. After 3 seconds target shall start to fade out.
4. target can be "activated" again at any time, and the sequence from 2. should restart itself.
It works if I let the sequence run its course every time, but if I repeatedly rerun the sequence before it's done executing something goes wrong, the fadeOut kicks in much sooner and such.