fadeIn on page load
        Posted  
        
            by Brad
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Brad
        
        
        
        Published on 2010-06-16T17:43:42Z
        Indexed on 
            2010/06/16
            17:52 UTC
        
        
        Read the original article
        Hit count: 169
        
I want to fade in a background of an entry within a div - this is to show the user what the most recent entry is on page load.
I want it to do it on page load, without having to click or hover or anything, just when the page loads.
I have this:
$(document).ready(function() {
  $('#box').fadeIn(5000, function() {
    // Animation complete
  });
});
Is it something like pageLoad?
Any help is appreciated.
© Stack Overflow or respective owner