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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:30:20+00:00 2026-05-31T10:30:20+00:00

Here is a source viewer for fadeIn() but it does not link out to

  • 0

Here is a source viewer for fadeIn() but it does not link out to custom() for some reason.

Also, as a second question, how does one conceptualize all this code…there are so many function calls that I can’t even guess as to how much code actually runs when you call .fadeIn() or .fadeOut().

For example:

fadeIn() calls animate() which calls speed() which calls extend()…

As a third question: is this object oriented programming ?

Thanks.

  • 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-31T10:30:22+00:00Added an answer on May 31, 2026 at 10:30 am

    It doesn’t use setTimeout(), it uses setInterval(), which is in custom(), which is called at the bottom of the animate() method.

    Here’s a good tutorial: http://www.schillmania.com/content/projects/javascript-animation-1/

    As explained in the tutorial, setTimeout() schedules an event to occur a certain amount of time after the setTimeout() function is called. The problem it’s going to take time for the scheduled function to run, and thus the next timeout is going to be scheduled after the first timeout’s delay AND the time it took to execute the code.

    If you want:

    100ms : function x called 
    200ms : function x called 
    300ms : function x called 
    400ms : function x called
    

    and you do:

    function x(){
        setTimeout( x , 100);
    }
    setTimeout( x , 100);
    

    What’s going to happen is:

    100ms : function x called
    first calls execution time + 200ms : function x called
    second calls execution time + first calls execution time + 300ms : function x called
    third calls execution time + second calls execution time + first calls execution time + 400ms : function x called
    

    So you do:

    function x(){
    
    }
    setInterval( x , 100);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Edit: You can get the full source here: http://pastebin.com/m26693 Edit again: I added some
To see what I mean, check out my source here in IE. When you
I need some help, I can not seem to figure out how to preload
Report viewer width/height is not display properly in Mozila Firefox , but perfectly displayed
I'm trying to perform a skew on an image, like one shown here (source:
Here is source code: @OneToOne(fetch = FetchType.LAZY) @Cascade({SAVE_UPDATE, EVICT, DELETE}) @JoinColumn(name = A_ID, nullable
var _thumb = $('.galleria img[@rel='+_src+']'); Full source here Is it a deprecated selector?
you can view full source code here dpaste.com/hold/167199 Error: delete() takes exactly 2 arguments
Can someone explain the syntax in the source attribute here? What the heck is
I have an application I need to analyze. I have the source code here.

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.