Background image first preload then fadein?

Background image first preload then fadein?

Hi everyone,

When I go to my website I want it to first load the background image fully and not show yet, ones done fully loading I just want it to fade in slowly.

I tried something like this:
  1.     $(".background").load(function(e){
  2.         $(".background").fadeIn(1000);
  3.     });
And I tried something like this:
  1. $('.achtergrond', this).fadeIn("slow");
Both in document ready function.

The HTML I'm using is:
  1. <div align="center"><img class="background" src="images/background.jpg"></div>
The CSS I'm using is:
  1. .background {
  2.     width: 100%;
  3.     height: 100%;
  4.     position: fixed;
  5.     top: 0;
  6.     left: 0;
  7.     z-index: -5000;
  8.     display:none;
  9. }
Hopefully someone is able to help me out