PDA

View Full Version : Popup Windows in Netscape 6.2


Dudeman
08-13-2002, 06:50 PM
I've got a very simple script to open a new window and display an image, then remove focus from the new window so it goes to the back of the screen. This seems to work fine in every browser except Netscape 6.2. It just plain ignores the blur() command and when I use the focus() command it brings the original browser window to the front and then pulls the new window right back on top of it. Here's the script I'm using:

testWin = window.open('http://compaq.skyline.net/~brad/num2.gif','SBpopup','height=100,width=100');
testWin.blur();
window.focus();

Has anyone seen this behavior before or have any idea what I can do to force Netscape 6.2 to push that new window to the background?

Skyzyx
08-14-2002, 02:19 AM
I tried it under Netscape 6.2, then I tried it under Netscape 7.0 Beta. It doesn't work right under NS 6.2, but it works great under NS7 and Mozilla 1.1 Beta (Today's build). Which only means one thing. It's a bug in NS 6.2. There's nothing you can do about it. The bug has apparently been fixed in newer versions of Netscape, but NS 6.2 just plain has a bug.

Sorry...

glenngv
08-14-2002, 03:55 AM
try to put some delay like this:

testWin = window.open(''http://compaq.skyline.net/~brad/num2.gif','SBpopup','height=100,width=100')
setTimeout("testWin.blur();window.focus()",500);