views:

1180

answers:

2

i tried openeing a new window using

window.open("lookup.htm","lookupWin", "height=400,width=500,resizable=false");

it works fine in IE, but in FF the pop up is still resizable. How to disable this resizing in FF as well?

+2  A: 

I don't think you can. Firefox (and some other browsers) just ignore the "resizable" setting.

Jan Hančič
Good thing too. Web authors have consistently abused the `windowFeatures` and are now having these toys taken away from them.
bobince
+3  A: 

Read this one from mdc

Window functionality features

resizable

If this feature is set to yes, the new secondary window will be resizable.

Note: Starting with version 1.4, Mozilla-based browsers have a window

resizing grippy at the right end of the status bar, this ensures that users can resize the browser window even if the web author requested this secondary window to be non-resizable. In such case, the maximize/restore icon in the window's titlebar will be disabled and the window's borders won't allow resizing but the window will still be resizable via that grippy in the status bar.

Starting with Firefox 3, secondary windows are always resizable

Bug 177838 - Make all popup windows resizable, ignoring resizable=no

rahul
THe funny thing is...the argument by Firefox authors was that "the user knows best" regarding window size. Yet, there are several windows in Firefox itself that cant be resized...
truppo
`the user knows best` !!!
Rakesh Juyal