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

diaplay html page before executing js code

P: n/a
max
Hi,

I've developed some HTML pages with js language.
In one of the pages, I execute some functions which take a long time
when the page is charging.
So, the page is displayed after all the code is executed. So, during
the code is executed, the previous page continues to be displayed.
So, is there any way to force the page to be displayed before the js
code is executed ???

Many thanks in advance for your help.
Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Call your code with the body's onload event. It will not be called
until the page is fully loaded.

--

e michael brandt
michael at valleywebdesigns.com
www.valleywebdesigns.com ::: home of justso picturewindow & photoalbum

--

max wrote:
Hi,

I've developed some HTML pages with js language.
In one of the pages, I execute some functions which take a long time
when the page is charging.
So, the page is displayed after all the code is executed. So, during
the code is executed, the previous page continues to be displayed.
So, is there any way to force the page to be displayed before the js
code is executed ???

Many thanks in advance for your help.


Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.