Jump to content

How do I detect that a page finished downloading?


Guest fedja

Recommended Posts

Hello, everyone!I'm trying to make a universal head for my web page using JavaScript. The idea is to set up a frameset with the top frame being a control page and the bottom frame being the document page. The control page should automatically determine some features of the document page and set up various controls depending on those features. Everything works as I want if the document page is completely downloaded by the time the script on the control page is executed. :) But sometimes the browser tries to execute the control page code before this happens and then everything becomes a mess. How can I detect that the document page finished downloading? :) Thanks in advance!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...