Home › Forums › JavaScript › How to display page content after javascript finishes. › Re: How to display page content after javascript finishes.
May 18, 2009 at 3:51 am
#57647
AshtonSanders
Participant
Right, you could do something like this:
Code:
#loadingscreen {
position:absolute;
top:0;
bottom:0;
left:0;
right:0;
z-index:30;
background: #fff url(‘loadingimg.gif’) center center;
}
position:absolute;
top:0;
bottom:0;
left:0;
right:0;
z-index:30;
background: #fff url(‘loadingimg.gif’) center center;
}
Make sure to have a loading image so people don’t get totally pissed about the white screen.