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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:27:58+00:00 2026-06-01T15:27:58+00:00

Hi to everyone this is my first ask on stackoverflow I’ve created a simple

  • 0

Hi to everyone this is my first ask on stackoverflow
I’ve created a simple code to manage a menu. Here is the code.
http://jsfiddle.net/corvallo/97×89/5/

If I click on “gestione news” all the menu elements will slide left with different delay
and an image (that on jsfiddle u can’t see) with the text “Articoli” will appear.
So i click on the image and the text “articoli” will fadeOut and the menu elements will reappear with delay in the same position as before.
So the problem is that if I try for 4-5 times the first animation(that is the sliding left of the menu elements) will slowdown, and if I try again animation will be slower and slower.

I don’t that the problem is in the delay() functions but in the $.each(), maybe I’m wrong.
Can someone help me with this.
Thank you in advance.

  • 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-01T15:27:59+00:00Added an answer on June 1, 2026 at 3:27 pm

    The animations seem to somewhat be still running for a while after they have apparently done their job. Use the following to see when they stop in Firebug or Chrome:

    $(this).animate({"marginLeft":"0px"},"slow", function(){console.log("anim stopped");});
    

    I am not sure why they are still running, but you can stop them before running new animations like this:

    $(this).stop().animate({"marginLeft":"0px"},"slow");
    

    This seems to fix the slowdown issues that you are experiencing.

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

Sidebar

Related Questions

Greetings everyone. This is my first question here at stackoverflow so please bear with
Hi everyone this is my first question here and im not a programmer. I
Hey everyone.. This is my first time writing an ASP.NET MVC web app, and
Hey everyone, this is my first post up on StackOverflow! WOO! Anyhow, onto my
This is my first question. Thanks to everyone who contributes to this site, it's
Hello everyone I am a newbie to php and this is my first ever
First, I would to thank everyone for all the help they provide via this
everyone! new to here and been pondering about this myself for some times with
Just want to let everyone know this is the first app I am trying
I would like some opinion, example and code on how everyone dose this.. So

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.