Preload CSS BG images..
Page 1 of 1
Interinactive
VIP Member



Posts: 29151

PostPosted: Thu, 20th Feb 2014 01:14    Post subject: Preload CSS BG images..
Hello

Obviously this could be done on window load, but I'm only allowed to start loading CSS background image assets after another library loads, like so:

Quote:
1. Load HTML/basic CSS/ad publisher JS

2. Once ad publisher JS is loaded, I need to call another CSS file, so I append it to the head of the document

3. At this point window is already loaded, but a new CSS file was included with assets linked to it that now need to be preloaded


As you can see I need to load the CSS file + the images linked within at a certain point after window has loaded

I tried a few image preloaders but nothing seems to work the way I need it to. Any suggestions?
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Thu, 20th Feb 2014 01:16    Post subject:
I don't get it, but maybe because it's 1:15 am :/

Care to go into a bit of detail regarding what you current problem is that you face and the exact time of when you want what dispalyed?


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
Interinactive
VIP Member



Posts: 29151

PostPosted: Thu, 20th Feb 2014 01:35    Post subject:
⁢⁢


Last edited by Interinactive on Tue, 5th Oct 2021 02:28; edited 1 time in total
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Thu, 20th Feb 2014 09:03    Post subject:
So it should stay on the blue screen after enabler js is loaded and then pre load the images required for your css?


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Programmers Corner
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group