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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:22:31+00:00 2026-05-27T19:22:31+00:00

In the code below the page will fade in, and then it will fade

  • 0

In the code below the page will fade in, and then it will fade in the list items on the left, and then its suppose to fade in each thumbnail on the right. But because of me using .delay() it ends up skipping the loading of some or all of the thumbnails. Is there something else other than .delay() I can use to halt the execution of the thumbs fading in before they should begin to?

//Showcase
    $('#showcase').animate({'opacity' : 0}, 0);
    fadeInDivs(['#showcase']);
    function fadeInDivs(els) {
        e = els.pop();
        $(e).   delay(750).animate({'opacity' : 1}, 1000, function(){
            if (els.length) fadeInDivs(els);
        });
    };

    $('#showcase').queue(function(){

        //fade in each filter
        $('#filters li').each(function(i, item) {
            setTimeout(function() { $(item).animate({'opacity' : 1}, 1000); }, 50 * i);
        });

        //fade in each thumbnail
        $('.thumb').delay(1000).each(function(i, item) {
            setTimeout(function() { $(item).animate({'opacity' : 1}, 1000); }, 500 * i);
        });
    });
  • 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-27T19:22:31+00:00Added an answer on May 27, 2026 at 7:22 pm

    Try this fiddle. I think this what you’re looking for. Let me know if it’s not. Here is the jQuery code:

        $('#showcase').queue(function() {
        var i = 0;
        var length = $('#filters li').length;
        //fade in each filter
        $('#filters li').each(function(i) {
    
            //alert(i);
            $(this).delay(750*i).animate({
                'opacity': 1
            }, 1000, function() {
                if (i == length) {
                    //fade in each thumbnail
                    $('.thumb').each(function(i) {
                        $(this).delay(750 * i).animate({
                            'opacity': 1
                        }, 1000);
                    });
                }
            });
            i++;
        });
    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code below for list into master page <div id=header> <ul>
for the code below I get a page that does print task and then
See the code below, If you click on the sub-title row it then will
See code below: I want Page 1 to alert #testing... This works in C
The code below extracts links from a web page and shows them in a
I have uploaded a page with the code below to my joomla root directory.
The code below is working nearly flawlessly, however my value for page title on
I was given the code below to disable a button on an ASP.Net page
I have a registration page with the following code below: in the views: def
I use below code to post an url to facebook page as a admin

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.