469,338 Members | 8,654 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,338 developers. It's quick & easy.

user can't resize popup window in IE

In Firefox I can resize the window that is created, but in IE I can't.
Here is the code I am using:
var
generator=window.open('','name','height=500,width= 675,resizeable=1,toolbar=0,menubar=0,scrollbars=1' );

I also tried it with 'no' and 'yes' instead of '0' and '1'.

I see the symbol in the window that I can click and drag, but, when I
do click and drag, nothing happens.

This is with XPSP2, btw.

Thanx for any help.

Apr 27 '06 #1
5 26860
James Black said on 28/04/2006 2:40 AM AEST:
In Firefox I can resize the window that is created, but in IE I can't.
Here is the code I am using:
var
generator=window.open(...,resizeable=1,...);

---------------------------------^

That's *resizable* (only one 'e'). To make the window resizable,
include the attribute the feature string with no value (i.e.
....,resizable,... ), or set it to any other integer value than '0' or to
the string 'yes':

<URL:http://developer.mozilla.org/en/docs/DOM:window.open#Window_functionality_features>
By default Firefox windows are always resizable. Other browsers may
behave differently.
--
Rob
Group FAQ: <URL:http://www.jibbering.com/FAQ>
Apr 28 '06 #2
RobG wrote :
James Black said on 28/04/2006 2:40 AM AEST:
In Firefox I can resize the window that is created, but in IE I can't.
Here is the code I am using:
var
generator=window.open(...,resizeable=1,...); ---------------------------------^

That's *resizable* (only one 'e'). To make the window resizable,
include the attribute the feature string with no value (i.e.
...,resizable,... ), or set it to any other integer value than '0' or to
the string 'yes':

<URL:http://developer.mozilla.org/en/docs/DOM:window.open#Window_functionality_features>

By default Firefox windows are always resizable.


This is not exact, Rob.

Bug 177838: Make all popup windows resizable, ignoring resizable=no
https://bugzilla.mozilla.org/show_bug.cgi?id=177838

Bug 101509: Pref to disable resizable=no
https://bugzilla.mozilla.org/show_bug.cgi?id=101509
Other browsers may
behave differently.


Since Opera 7.0, popup window are always resizable; the users can not
even make a popup window non-resizable.

I've asked Microsoft in one of its IE product feedback page to do the
same for popup windows, considering
"Earlier versions of Internet Explorer ignored the resizable=no feature and
allowed you to resize the new window."
http://support.microsoft.com/default...b;en-us;211068

MSIE 5.01 and previous were always ignoring resizable=no.

Gérard
--
remove blah to email me
Apr 28 '06 #3
Gérard Talbot said on 28/04/2006 3:02 PM AEST:
RobG wrote :


[...]
By default Firefox windows are always resizable.

This is not exact, Rob.

Bug 177838: Make all popup windows resizable, ignoring resizable=no
https://bugzilla.mozilla.org/show_bug.cgi?id=177838

Bug 101509: Pref to disable resizable=no
https://bugzilla.mozilla.org/show_bug.cgi?id=101509


I actually checked my about:config before posting, it has:

dom.disable_window_open_feature.resizable : false
yet I couldn't disable resizable - suits me! :-)

--
Rob
Group FAQ: <URL:http://www.jibbering.com/FAQ>
Apr 28 '06 #4
RobG wrote :
Gérard Talbot said on 28/04/2006 3:02 PM AEST:
RobG wrote :


[...]
By default Firefox windows are always resizable.

This is not exact, Rob.

Bug 177838: Make all popup windows resizable, ignoring resizable=no
https://bugzilla.mozilla.org/show_bug.cgi?id=177838

Bug 101509: Pref to disable resizable=no
https://bugzilla.mozilla.org/show_bug.cgi?id=101509


I actually checked my about:config before posting, it has:

dom.disable_window_open_feature.resizable : false
yet I couldn't disable resizable - suits me! :-)


I'm not sure I understand what you're saying.

Select the property, then right-click and choose reset to reset the
property to its default value. The property value will then be false. If
you want window to be resizable all the time, then you must disable the
window.open resizable feature ... which is true.

I agree with you that such way to force resizability of windows
permanently is far from being simple, obvious and well documented.

This document

http://developer.mozilla.org/en/docs...ality_features

says "Mozilla and Firefox users can force new windows to be easily
resizable by setting
dom.disable_window_open_feature.resizable
to true in about:config"

Gérard
--
remove blah to email me
Apr 29 '06 #5
Thank you for spotting the typo. :)

May 2 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Peter Noneley | last post: by
17 posts views Thread by Applebrownbetty | last post: by
20 posts views Thread by ruca | last post: by
7 posts views Thread by Drew Berkemeyer | last post: by
3 posts views Thread by =?Utf-8?B?Vk1J?= | last post: by
reply views Thread by Mahernoz | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.