Display if page is ready

Hi,

I wanted to know if it is possible to make sure if everything is loaded i.e. css and js then display the page. Similar to a preloader.

The problem I’m having is that I have a simple js script (developed with prototype) that hides and shows elements. As the page loads it shows all elements and when the page is complete it hides them. I need it so they’re are hidden so the user can’t see them.

Any ideas? This would be a big help

Cheers :slight_smile: