Re: Check that child window is done loading external http url
Hello
First, in your main window, you set the onload handler as:
maindoc's onload="open_wi ndow1();"
Then in window1's onload handler: "window.opener. window.open_win dow2();"
etc...
the main doc contain all the window creation code.
HTH,
Elias
"ng" <ngashok@gmail. com> wrote in message
news:1120797444 .069245.237460@ g43g2000cwa.goo glegroups.com.. .[color=blue]
>i want to open 10 external urls one after the other(preferabl y in same
> window) only after the previous one gets loaded successfully
>[/color]
Re: Check that child window is done loading external http url
did u mean this?
function w1open()
{
alert("window loaded");
}
function wackOpen(){
var
my_window1=wind ow.open('http://www.gmail.com', '','left=20,top =20,width=2,hei
ght=2');
my_window1.onlo ad="w1open()";
}
but this didnt work.. could you modify the code and make it work pls
Re: Check that child window is done loading external http url
ng wrote:[color=blue]
> did u mean this?
>
> function w1open()
> {
> alert("window loaded");
> }
> function wackOpen(){
> var
> my_window1=wind ow.open('http://www.gmail.com', '','left=20,top =20,width=2,hei
> ght=2');
>
>
> my_window1.onlo ad="w1open()";
>
>
> }
>
> but this didnt work.. could you modify the code and make it work pls
>[/color]
on my idea, only the page in the popup
can tell you it is loaded.
Comment