By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,570 Members | 970 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,570 IT Pros & Developers. It's quick & easy.

how to create "page is loading please wait..." in javascript

P: 1
Hello,
i wanted to disply preload on dtml page..
can you help me in this...?

cheers
Rajeev
Mar 14 '07 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
Welcome to TSDN.

You can display this after the page has loaded or whilst it is rendering the page.

If your page takes a long time to load, consider loading the main part first, display the message, then use Ajax to load the rest.

To display the message, just use something like:
[HTML]<div id="loadMsg">Page is loading. Please wait...</div>[/HTML] then when the page has loaded, set the display property to 'none' or visibility to 'hidden'.
Mar 14 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.