Basically I let the webpage load everything, but since the image is huge, I rather not show it while the browser is still downloading it.
Instead, I want to show this background (with a fading effect) when the browser finishes downloading the image.
The thing is, that the background-image
must be set inside the body
tag, so I don't want to apply jQuery by using $('body').hide;
or $('body').show;
because it hides practically the entire webpage.
I've been searching this feature but I only found cases when people wanted to show/hide them in another tag (instead of the all-wrapping one (body
in my case)).
Is it possible or I'm just reaching Mars itself? Thanks for your help!