window.open opens a full window in Netscape4 !!!

K

kiran

Hello

The following code opens a small window in IE and NS6, however it
opens a full window in NS4+ :

open("somepage.html", "", "width=568, height=320, scrollbars=yes");

what can be the reason?

Thanks in advance,

Kiran Makam
 
L

Lasse Reichstein Nielsen

The following code opens a small window in IE and NS6, however it
opens a full window in NS4+ :

open("somepage.html", "", "width=568, height=320, scrollbars=yes");

what can be the reason?

The spaces in the parameter string, after the commas. Remove them, and
it works.

/L
 
K

kiran

I tryed this code:

open("somepage.html", "", "width=568,height=320,scrollbars=yes");

but still Netscape4 is opening full window !

Kiran Makam
 
M

Markus Ernst

kiran said:
I tryed this code:

open("somepage.html", "", "width=568,height=320,scrollbars=yes");

but still Netscape4 is opening full window !

Kiran Makam

Have you made sure somepage.html does not contain javascript code to control
the window size?

Just an idea.
 
K

kiran

I am using NS 4.79 on Win 2000 for testing. Even after reinstaling NS,
problem is there.

Markus Ernst said:
Have you made sure somepage.html does not contain javascript code to control
the window size?

Since the above code, ie window.open, did't work I have given
if(document.layers){
self.resizeTo(568, 320);
}
in somePage.html. If the above code is not given, full window is
opening in NS.

Is it a bug ? . . . .


Thanks
Kiran Makam
 

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

Forum statistics

Threads
474,077
Messages
2,570,566
Members
47,202
Latest member
misc.

Latest Threads

Top