On 8/14/07, Joel Birch <[EMAIL PROTECTED]> wrote:
>
> On 8/14/07, Eridius <[EMAIL PROTECTED]> wrote:
> >
> >
> > That help quite a bit but still not the effect i am looking for.  I know
> > this
> > is ironic but i am looking for the effect on this home page on the right
> > hand side:
> >
> > http://mootools.net/
> >
> > The thing that that effect has and this one does not is the is stops the
> > effect once the mouse leaves if i move over a link real fast and then
> > leave
> > it.  in my code it perform the full effect even if my mouse is over it
> > right
> > away.  is there a way to stop the effect from fully complete if the
> > mouse is
> > move in and then out real fast?
> >
>
> Would you like to take this one Karl ;)
>
> Joel.


Seriously though, I think you will find that jQuery can not currently stop
animations mid-way through. If it begins, it will animate fully and then
remember to do the closing animation if you moused out in the meantime. I
think the ability to stop animations mid-way is planned for a future release
of jQuery.

In the meantime I highly recommend looking at Brian Cherne's hoverIntent
plugin as it will definitely help cut down on triggering unwanted animations
for menus like this.

Good luck.
Joel Birch.

Reply via email to