JQuery - Set Background Image to Image object
<p>I new to JQuery and I am trying to do a proof-of-concept with it. I am trying to use JQuery to: 1) Download a large (>500kb) image file 2) Set the image as the background of an element when downloaded 3) fade it in (basically the way that Bing.com does it). The StackOverflow community has generously helped me most of the way through this problem as shown <a href="http://stackoverflow.com/questions/977090/jquery-fade-in-background-image">here</a>. However, I still have one problem that I cannot figure out.</p>

<p>How do I make the downloaded image the background-image of an HTML element? The code that I see at <a href="http://jqueryfordesigners.com/image-loading/" rel="nofollow">http://jqueryfordesigners.com/image-loading/</a> appends an image element to a DIV. However, I want to set the image as the background-image of a DIV once downloaded and fade it in. Is this possible?  I seem to keep going around in circles on this. Thank you.</p>
