March 31st, 2004, 10:39 PM
Make sure CSS, JS has been downloaded
I can accomplish this for script files by setting a global variable in the main page and having the external script reset that variable when it is loaded, but I dont know how to do it for CSS files (or others).
April 1st, 2004, 09:49 AM
Put everything in the header, before everything else, the page should automatically render with your stuff included. Unless you're talking about some REALLY huge code.
April 4th, 2004, 09:17 PM
Yes the code could be huge (1000+ lines to be used by multiple pages)... and as the web page is acting as a "live" application, I need to be able to know that all files have loaded succesfully and that the user is getting the correct experience.... There must be some way to do this?
Originally Posted by vbrtrmn
April 4th, 2004, 11:55 PM
If you're using a server-side scripting language like PHP, you could always "include" or "require" the CSS file in each page. Then it would always get loaded.
Thanks for that, but I'm not using php or any host scripts. It needs to be client side only!