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

  • Home
  • SEARCH
  • 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 8196591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T05:31:55+00:00 2026-06-07T05:31:55+00:00

I have written this little jquery, which has a nice hover effect. However, on

  • 0

I have written this little jquery, which has a nice hover effect.

However, on certain mouse hovers, the sccipt seems to be faulty, as it seems to cause a loop of animate effects. (Mostly when you hover between the 2nd and 3rd div)

Does anybody have a suggestion how to fix this issue?

http://test.gifix.de/index.php

Sorry for the poor description of the problem, but I am sure you will see it once you hover a bit over the example 😉

Thanks for every help,

Scott

  • 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-06-07T05:31:57+00:00Added an answer on June 7, 2026 at 5:31 am

    Your animations are queuing up. To prevent this, use the jQuery stop function: http://api.jquery.com/stop/

    I updated your code to include the use of the stop function. It now works for me. Here is the updated code:

    <script type="text/javascript">//<![CDATA[ 
    $(window).load(function(){
    $('#blue-top').mouseenter(function(){
        $('#blue-top').stop(true).animate({height:'200'}, 500);
        $('#blue-middle').stop(true).animate({height:'80'}, 500);
        $('#blue-bottom').stop(true).animate({height:'80'}, 500);
    });
    $('#blue-top').mouseleave(function(){
        $('#blue-top').stop(true).animate({height:'120'}, 500);
        $('#blue-middle').stop(true).animate({height:'120'}, 500);
        $('#blue-bottom').stop(true).animate({height:'120'}, 500);
    });
    
    $('#blue-middle').mouseenter(function(){
        $('#blue-top').stop(true).animate({height:'80'}, 500);
        $('#blue-middle').stop(true).animate({height:'200'}, 500);
        $('#blue-bottom').stop(true).animate({height:'80'}, 500);
    });
    $('#blue-middle').mouseleave(function(){
        $('#blue-top').stop(true).animate({height:'120'}, 500);
        $('#blue-middle').stop(true).animate({height:'120'}, 500);
        $('#blue-bottom').stop(true).animate({height:'120'}, 500);
    });
    
    $('#blue-bottom').mouseenter(function(){
        $('#blue-top').stop(true).animate({height:'80'}, 500);
        $('#blue-middle').stop(true).animate({height:'80'}, 500);
        $('#blue-bottom').stop(true).animate({height:'200'}, 500);
    });
    $('#blue-bottom').mouseleave(function(){
        $('#blue-top').stop(true).animate({height:'120'}, 500);
        $('#blue-middle').stop(true).animate({height:'120'}, 500);
        $('#blue-bottom').stop(true).animate({height:'120'}, 500);
    });
    
    
    });//]]>  
    
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

have written this little class, which generates a UUID every time an object of
I have written this code inside a servlet to delete certain records from three
I have written this program, which sorts some ints using a functor: #include<iostream> #include<list>
I've written a little slider script in jQuery which I want to run in
I have little problem with printing data like this, I have written script like
I have written a little JQuery / Javascript add on for our form, that
I have written a little helper function which performs some sort of drawing operations,
I have written a little PDF view which shows PDFs page by page to
I have this bit of javascript written with jQuery 1.2.5. It's contained inside the
I have written this little script to find executables that are passed as arguments

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.