Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript preloading a webpage Re: preloading a webpage

#56805
Hugo
Member

One trick is placing an absolute positioned div right after the body opening tag, give it a with and height of 100%. Put something fancy in it, some loader gif image, and make it dissapear when the entire document was loaded using javascript.

It’s kinda simple and maybe old, so you should have a look at other solutions as well