Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6039061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:18:47+00:00 2026-05-23T06:18:47+00:00

heres a problem of jQuery that has been haunting me for a long time,

  • 0

heres a problem of jQuery that has been haunting me for a long time, and I want to finally find a solution. Havng this code:

http://jsfiddle.net/MDfgd/20/

If I move my mouse quickly through all the objects, the animation breaks, as it doesn’t unfold completely. How could I do it so that this doesnt happen?

I tried “stop(true, true)”, but this makes the animation lose its smoothness, since it jumps to the end of the animation Queue.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T06:18:48+00:00Added an answer on May 23, 2026 at 6:18 am

    I think what he means is that if he moves the mouse over and out in a quick manner, he doesn’t want the animations to stack up infinitely. However doing .stop() will result in the current animation being stopped instantly, instead of letting the current animation to run its course and removing the rest of the animations from the queue. Doing .stop(true, true) will jump to the end of the current animation and continue from there.

    What the OP wants, I think, is to let the current animation to run through, and after that start the next animation, instead of stacking up the animations infinitely in case of fast mouse movement.

    One way to achieve that is to keep track of the currently animating element yourself. This shows one way to achieve what you want:

    http://jsfiddle.net/ZrdV6/

    EDIT

    Ok after clarification I made another example. This basically prevents the height from getting messed up by using stop() on an element that is being animated by slideDown() and slideUp().

    The trick is to do the animation yourself with .animate(), and to keep track of the original height yourself.

    http://jsfiddle.net/YmwZa/1/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So we have this problem that we are trying to figure out. Heres what
It seems this is a known problem and has been asked several times before
Im well aware of the fact that the problem im having has been asked
My problem is this: I need to make a JQuery Image slider that resembles
I a problem that has been driving me nuts for awhile now. Here is
Here's my problem, I have a piece of jquery that works fine in modern
I am including jQuery in background_page like this, <script type=text/javascript src=libs/jquery.js></script> Here's the problem:
I'm new to javascript/jQuery this really has me stumped. What I'm trying to achieve
I have a web application that has been running just fine in Internet Explorer
I've had a look around to see if this has been answered, and there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.