posted 19 years ago
I also thought like that. This is the code that I use to open the window.
twin = window.open("","timeout_window","toolbars=no,location=no,menubar=no,resizable=no,scrollbars=no,width=500,height=250,screenX=150,screenY=175,left=150,top=175");
A variable called sd is then defined to contain the html needed to be displayed on the popup. The following line is then executed to display the popup html text.
twin.document.write(sd);
The popup html has a link which on click calls a javascript method of twin (popup) called renew(). Inside renew(), I am trying to change the location of popup which is not happening in Netscape (7.1/7.2) and Opera (7.54). It works properly in IE 6.0.
The parent window url is getting reloaded in the popup window location in Netscape and Opera.
Thanks again.