[thelist] urgent! popup window problem in Netscape 4!

Fortune Elkins fortune_elkins at summithq.com
Fri Nov 9 12:59:07 CST 2001


hiya keith!

ok,i remove that line of code, and it still happens when i test locally. do
you have netscape 4.76? could you look at my URL quickly if i sent it to
you?

tia,

f

-----Original Message-----
From: Keith [mailto:cache at dowebs.com]
Sent: Friday, November 09, 2001 1:55 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] urgent! popup window problem in Netscape 4!



> function popUp(theURL,winName,features) {
>         popWin = window.open(theURL,winName,features);
>   setTimeout('popWin.focus()', 500);
>         }

> it was working great for me in IE4+ and Netscape 4.76 and Netscape
> 6.x. suddenly, however, it's stopped working in Netscape 4.76! the
> mydoc.htm only loads *halfway* and then stops! 

Try removing your setTimeout('popWin.focus()', 500); If the 
document hasn't loaded by the time the parent calls the focus it's 
probably breaking popWin. Since you have no control over web 
traffic speed I suggest you do not intergrate any timing events 
between the two windows involving traffic. Instead use 
onload=window.focus() in the body tag of the document in popWin. 

keith

---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.





More information about the thelist mailing list