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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:15:57+00:00 2026-05-28T15:15:57+00:00

I use the function below to show a list of items. I want to

  • 0

I use the function below to show a list of items. I want to change the function so that I can display the navigation when the pseudo recussion is finished. Is there a way to dtect when it is finished?

function fadeItem() {
    $('ul li:hidden:first').fadeIn(fadeItem);
}
  • 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-28T15:15:58+00:00Added an answer on May 28, 2026 at 3:15 pm

    (update: added this first part) Loads all embed images then recursively fades everything in every half second, then does an alert (replace with the concept you commented back on)

    var selector = "ul li:hidden:first";
    function fadeIn($item) {
       $item.fadeIn(500,function() {
          var n = $(selector);
          if(n.length > 0) {
             fadeIn($(selector));
          } else {
             // add a div
             alert("added a div");
          }
    
       })
    }
    
    $(document).ready(function() {
       // load images first
       var imgs = []; // cached
       $("ul li img").each(function() {
          // create a separate img tag because img is not active due do [assumed css] display:none;
          var cacheImage = document.createElement('img');
          cacheImage.src = $(this).attr("src");
          imgs.push(cacheImage);
       });
       // this is a quick method, you can change window to the image nodes to optimize better
       $(window).load(function() {
          fadeIn($(selector));
       });
    });
    

    Source: http://jsfiddle.net/MattLo/ukLaG/1/ (using a very large image to test)

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

Sidebar

Related Questions

I use jquery code like below $('form#new-post').ajaxForm({ success:function(html){ $('#post-list').prepend(html); } }); It show the
Unless I use the .toLocaleDateString() method, the function below returns a date that is
I use the function to show picture: Bitmap imageBitmap = loadBitmap(URL); loadBitmap() as below:
I use function below to check connection to WiFi hotspot point: public boolean IsWiFiConnected(){
I'm trying to use the function below to get a DIV to slide-out from
When I use jQuery event listener to handle message event, like below: $(window).on('message', function(e)
I use htmlspecialchars function in my string. But, I don't want to clean them;
I use a function that sends emails to some users. I use the following
The function below gets two values from sharedpreferences, weight and height, and I use
Below is a function I found about a year ago that is supposed to

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.