I have a webpage where I want to delay showing a large image until it has finished downloading. Instead, I would like to display a background with a fading effect while the image loads.
The challenge is that the background image must be set within the body tag, and I don't want to use jQuery's show/hide functions as they would affect the entire webpage.
I have searched for solutions online but most examples involve showing/hiding elements in different tags, not within the body tag itself.
Is there a way to achieve this, or am I asking for something impossible? Any help would be appreciated!