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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T04:57:51+00:00 2026-06-17T04:57:51+00:00

I’ve been searching for quite a while now, and before everyone hits me the

  • 0

I’ve been searching for quite a while now, and before everyone hits me the setTimeout() function, hear me out.

I have ~20 HTML elements which are invisible. I want them to turn visible one at a time, with a pause inbetween. I also want to use some of jQueries awesome animation features when turning them visible.

So basically I want to “play a sequence of frames/events/states” using JavaScript/jQuery.

What have I looked in to?

SetTimeout():

I’ve been looking at the JS setTimeout function, and from what I can tell, it works great when you have 1-3 setTimeout() functions.

If you want more, it starts to get extremely messy. They are embedded, you have to time everything by adding numbers together and it’s really hard to get the overall picture.

jQuery.delay()

Also, the jQuery.delay() function lacks to actually pause the code. I have 20+ elements, not one I want to animate.

Updatepanel spam

Another option, which I kind of considers right now (please, kill me), is using an updatepanel. Every second it makes a postback using a timer, and using a session, it knows exactly at what “frame” it is. Then it can set things visible/invisible depending on frame number, and also fire jQuery animations.

Now, when I woke up this morning, I didn’t dream of spamming my webserver with an updatepanel like this…. So:

Is there any good ways to do this? I am very open to suggestions.

Thanks a lot! 🙂

  • 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-17T04:57:52+00:00Added an answer on June 17, 2026 at 4:57 am

    If you apply the same class to all the elements (sequential_expose in my example), you can select those elements and call each() on the selection. To stagger the fade in of the elements, you can multiple the index of the item as provided from each() and multiply it by the time you want for for the delay between fadeIn’s and pass that value as parameter to delay(). Given an interval of 500 milliseconds (you can make this whatever you want), the first item in selection would have 0 as delay, the second 500, the third 1000, etc. You then just chain your preferred animation (fadeIn(200) in my example) after the call to delay().

    $(function () {
        $('.sequential_expose').each(function(i) {
            $(this).delay(i*500).fadeIn(200);
        });
    });
    

    Note the example shows this as a document onready function, you can obviously change this as needed.

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

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have been unable to fix a problem with Java Unicode and encoding. The
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have thousands of HTML files to process using Groovy/Java and I need to
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example

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.