Jump to content

Archived

This topic is now archived and is closed to further replies.

vaibhavs

Please wait... splash screen

Recommended Posts

Hi,

I have an HTML page which is a bit huge (almost 50KB).
On a slow internet connection it takes a while to load the page (about 7-10 sec).

I would like to display a small splash screen with a message like "Loading page pls wait) as soon as the page is requested and then this window automatically closes when the page is fully loaded.

Requesting for pointers / sample scripts using javascript / DHTML / CSS etc.

Thank you in advance.

regards,
Vai

Share this post


Link to post
Share on other sites
why is it so big????

only method that is going to really help you here is ajax... OR cache the page if its db driven and only changes on regular basis (like hourly or daily)

Share this post


Link to post
Share on other sites
Yeah, you could play some games with hidden DIVs and onload handlers, but just make the page smaller.

Share this post


Link to post
Share on other sites
Yes fenway. I need to play a bit with DIVs.
Show DIV when the page is Loading and hide when the page has fully loaded.
Can you help me on this a bit.

Thank you in anticipation.
Cheers,
Vai

Share this post


Link to post
Share on other sites
Well, you can have the actual page in a DIV with display:none, and toggle it on the BODY onload.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.