Hello,
can I programatically (or, as we're speaking about html
and css
, semantically) decide in which order should images load?
I want to make background image load first and then call som javascript upon $(window).load
, is it enough to leave it on browser (e.g. body-background is on line 40
, other images are later in css file) or do I have to use javascript (and if yes, is there some simple solution?)
Thank you.
Edit: The reason is that I could display notice 'loading...' while loading images, but the parts loaded first won't make sense without at least seeing the background, so background has to be loaded first.