There's tons of articles of how to preload an image, however I can't seem to find anything useful about preloading a background image with jquery.
I made a simple html mockup of what I'd like to achieve: http://jsfiddle.net/3rfhr/
- A loading div appears
- Background is loaded
- Loading div disappears
- Background DIV appear
I can handle the div transitions but I'm clueless as to how I should go about preloading a css background. Thanks for reading my question :)