# Display if page is ready

**URL:** <https://forum.kirupa.com/t/display-if-page-is-ready/269845>\
**Category:** Uncategorized\
**Created:** [September 2, 2008, 11:45am UTC](https://forum.kirupa.com/t/display-if-page-is-ready/269845 "2008-09-02T11:45:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patch](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/patch/32/1095_2.png) [@Patch](https://forum.kirupa.com/u/Patch)\
**Post date:** [September 2, 2008, 11:45am UTC](https://forum.kirupa.com/t/display-if-page-is-ready/269845/1 "2008-09-02T11:45:23Z")

</div>

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 🙂
