Newbie needs help with child windows

R

Richard

How can I tell when a child window, ie. w = window.open(...), has
completely loaded it's content?

If a child window creates a child of its own, ex. a popup, how can I
tell?

Thanks
 
L

Lee

Richard said:
How can I tell when a child window, ie. w = window.open(...), has
completely loaded it's content?

Have it tell you that it's loaded, via it's onload event handler.
Ideally, though, you should avoid caring (and even avoid creating
child windows). What is it that you want to do when the window
has opened, that it can't do better itself?
If a child window creates a child of its own, ex. a popup, how can I
tell?

Again, have it tell you that it has done so.
 
R

Richard Bell

Richard said:

Have it tell you that it's loaded, via it's onload event handler.
Ideally, though, you should avoid caring (and even avoid creating
child windows). What is it that you want to do when the window
has opened, that it can't do better itself?

Unfortunately, I've no control over the contents of the child, so
that's not an option. I've got the original window.open handle but
after the child loads it does not appear to be a permisible reference
to the child window (behavior varies with the browser, but I can not
get or set the child status line for example).
Again, have it tell you that it has done so.

Ditto.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top