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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:43:03+00:00 2026-05-31T11:43:03+00:00

I am trying to create an animation of several elements opening and closing one

  • 0

I am trying to create an animation of several elements opening and closing one after the other, but for some reason I did not succeed on that.

Here is a JsFiddle http://jsfiddle.net/NCYvC/.

The problem is all animations execute at the same time.

I hope I’m not making a stupid mistake somewhere.

  • 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-31T11:43:05+00:00Added an answer on May 31, 2026 at 11:43 am

    The reson your code won’t work is due to you

    1. executing the functions directly in the callback,
    2. and you only using the m1 class name in your boxes.

    Explonation:
    1. When you use “functionName()” as a callback argument, you don’t wait for the callback to be run, but you run it as you enter it as argument. You need to only refer to the function by name, i.e. “functionName”.

    Example:

    $(".m1").slideDown("fast", functionName);
    

    2.All your div-boxes had class m1. That means that the first function “runIt” would affect all of your divs, and that way look like they were executed all at the same time.

    Updated fiddle code as an example: http://jsfiddle.net/mikaelbr/NCYvC/13/

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

Sidebar

Related Questions

I'm trying to create an animation sequence with jQuery where one animation starts after
I'm trying to create animatable control but it seems animation does not works. What
im trying to create ball animation using gdi but i can't get it working.
I'm trying to create an animation in one of my apps. The animation is
I have about 100 elements in like and am trying to create an animation
I have one huge array and I'm trying to create an animation effect. My
I'm trying to create several buttons that have 4-5 frames of animation in them,
Hello I am trying to create an animation like creating heart like bubbles but
I'm trying to create a never-ending looping animation using ExtJs, but am hitting the
I'm trying to create a simple animation where element after being appended to the

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.