You are not using hover(), you're using the hoverIntent plugin. From
its website:

-- snip --
hoverIntent is a plug-in that attempts to determine the user's
intent... like a crystal ball, only with mouse movement! It works like
(and was derived from) jQuery's built-in hover. However, instead of
immediately calling the onMouseOver function, it waits until the
user's mouse slows down enough before making the call.

Why? To delay or prevent the accidental firing of animations or ajax
calls. Simple timeouts work for small areas, but if your target area
is large it may execute regardless of intent. Also, because jQuery
animations cannot be stopped once they've started it's best not to
start them prematurely.
-- snip --

On Wed, Dec 3, 2008 at 9:40 AM, SmpleJohn <[EMAIL PROTECTED]> wrote:
>
> It's amazing I can't find anything helpful on this.  When I use hover
> over and out with and animating technique, then mouse over it quickly,
> it bugs out.
>
> Here's my code:
>
>       $("#header").hoverIntent(
>                function(over){
>                        $("#header #menu").slideDown();
>                },
>                function(out){
>                        $("#header #menu").slideUp();
>                }
>        );
>
> Now, as mentioned, the problem occurs when you mouse over and out
> really quickly.  I tried adding the stop(), but if you mouse over and
> out quickly with that, it'll only animate to a certain height and
> won't show the entirety of the content.  Any suggestions?
>

Reply via email to