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 8903313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:50:16+00:00 2026-06-15T01:50:16+00:00

Going mad. I had this working and then stupidly overwrote my code without a

  • 0

Going mad. I had this working and then stupidly overwrote my code without a backup, and now can’t remember how I did it!

I have a drop down social yeti: http://projects.jonhudsonweb.com/work

However if you repeatedly run mouse over it it repeats the animation again and again. Here is my failed effort to stop this:

$('#social-yeti').not(':animated').hoverIntent(function(){
    $(this).delay(300).animate({top:"+=203"}, 1000)
    }, function(){
    $(this).delay(300).animate({top:"-=203"}, 1000)
    } 
);

I’m sure this is how I did it before though! Any help greatly appreciated!

  • 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-15T01:50:17+00:00Added an answer on June 15, 2026 at 1:50 am

    Try placing the .stop() method before animating:

    $('#social-yeti').hover(function() {
        $(this).stop(true, true).animate({ top:"0" }, 1000);
    }, function() {
        $(this).stop(true, true).animate({ top:"-203" }, 1000);
    });
    

    This will basically clear the animation queue for the element before starting a new animation.

    Edit—–

    the problem before is that you were adding a value to the top current value at the middle of the animation (+=203). I changed to animate to specific ‘top’ values instead of adding/substracting values to avoid bizarre jumps. Try the code now.

    The first .stop parameter indicates whether or not to clear the queue, the second one indicates it should jump to the end of the current animation. Feel free to change them if needed.

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

Sidebar

Related Questions

I'm going mad with this 2 queries, I can't explain myself why one returns
i am going mad with this problem now - if u goto http://talll.com and
This problem has driven me mad for over a day now. I can create
Going mad now. I have a MVC solution that i've upgraded from MVC 1
I'm going mad on this one. I have the following SP: ALTER PROCEDURE [BankImport].[spBI_getIsBatchUnique]
I have been going mad trying to figure out why my scripts weren't working,
Either I'm going mad or the Code Analysis tab in Visual Studio has disappeared
I'm going a little mad I think. This is the VERY first thing I
I think I'm going mad. Can anyone help? I have the folder c:\project\bin I
Some days I swear I'm going mad. This is one of those days. I

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.