Javascript window.open specs not working

krahny

New Member
Messages
25
Reaction score
0
Points
0
I have a javascript function that opens a new window with a bunch of specs. As far as I can tell, only the width and height specs work.
Here is the function:

function open_win(URL,Title)
{
myWindow=window.open(URL,Title,"location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,height=400,width=550");
}

I can still resize the windo and see the address even though they're set to 0.

Could some please help me?
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
What browser are you using? Some browsers (e.g. Firefox) can be configured to force rendering of some chrome elements, no matter what features are requested in the call to window.open. By default, Firefox forces resizing and the location and status bars.

Use the
Code:
, [php] or [html] tags as appropriate to delineate code when posting. It will preserve the formatting of the code, including spacing. Note that whitespace was added to your features string, where whitespace isn't allowed.
 
Last edited:

krahny

New Member
Messages
25
Reaction score
0
Points
0
Thanks!

I was using firefox, but when I tried it in IE, it worked.
 
Top