Hello,
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 here. However, I still have one problem that I cannot figure out.
How do I make the downloaded image the background-image of an HTML element? The code that I see at http://jqueryfordesigners.com/image-loading/ 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.