473,424 Members | 1,913 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,424 software developers and data experts.

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 27155
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Peter Noneley | last post by:
Thank you for reading. I am not a programmer, I can just about cobble things together using code examples, so please be gentle! - I will have an application open, such as Excel or Word. - I...
17
by: Applebrownbetty | last post by:
Hi, I'd like to append/amend the following code from the Dreamweaver extension "Open Picture Window Fever" for the ability to center the PopUp window: By default, it allows the window to be...
4
by: Terren | last post by:
I have a popup window that is used to display text from a database. Some times it can be a few words, sometimes it can be a hundred words. What I would like to do is resize the popup window to...
5
by: Jay | last post by:
I have a situation where the user clicks on a button in a DataGrid to launch a popup window via javascript. In the popup window the user does some things that result in changes to the underlying...
20
by: ruca | last post by:
Hi, DESCRIPTION: I'm developing an application that when I need to insert a date, I use 3 textbox's and one image button. This image button open's a small popup window with a calendar,...
7
by: Drew Berkemeyer | last post by:
Hello, We have an application that we have written using ASP.NET. On one of our pages we open a popup window using javascript. The popup window has a save and a cancel button. Both of them are...
3
by: =?Utf-8?B?Vk1J?= | last post by:
How can I close popup window automatically when I close the parent window (the application itself)? Thanks.
0
by: Mahernoz | last post by:
Hi Friends, I simply want to print a report by opening a popup, calling the print function and closing the window after the user has printed the report. I have 2 functions.... in c# The...
4
by: Ria12 | last post by:
hi... I have grid in my Parent page on clik of gridview Edit column it open a Popup window fill all records for updation.But I have problem when user update a record popup window is not...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.