[jQuery] problem with animation()/stop()

[jQuery] problem with animation()/stop()


Hello Everybody, Hope this is the right spot to place some suggestions
for the GREAT jQuery Lib.
How is it possible to use the fade() or fadeTo() method, if i want to
toggle the an item e.g. a button with a fade on mouseover.
the problem is, i have to stop the animation if i do a quick toggle
over-out-over..., else the item will fade in and out many times.
i tried all kinds of chaining with stop, unqeue etc.. but the behavior
isn't controllable.
iwould like to know a solution like
toggleFadeIn: function() {
return this.stop().XXX.fadeIn();
},
toggleFadeOut: function() {
return this.stop().XXX.fadeOut();
},
you get the idea?
thank you