473,761 Members | 7,351 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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=windo w.open('','name ','height=500,w idth=675,resize able=1,toolbar= 0,menubar=0,scr ollbars=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 27195
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=windo w.open(...,resi zeable=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.mozil la.org/en/docs/DOM:window.open #Window_functio nality_features >
By default Firefox windows are always resizable. Other browsers may
behave differently.
--
Rob
Group FAQ: <URL:http://www.jibbering.c om/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=windo w.open(...,resi zeable=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.mozil la.org/en/docs/DOM:window.open #Window_functio nality_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_win dow_open_featur e.resizable : false
yet I couldn't disable resizable - suits me! :-)

--
Rob
Group FAQ: <URL:http://www.jibbering.c om/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_win dow_open_featur e.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_win dow_open_featur e.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
2512
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 then want to open a HTML file in MSIE. - I then want the HTML file to resize Excel to fit vertically in 75% of the screen, and the HTML file to fit the remaining 25%.
17
2513
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 offset on the left and top, but does not include a centering option. I'm thinking it would include something like (screen.width-imageWidth)/2; somewhere but not sure how do go about doing this.
4
5580
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 fit the text. Well actually it is just the height that needs to be resized. I have set the width to 600. I have put the text in a table and I was thinking I could set the height of the window to be the height of the table plus some for room. I...
5
2515
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 database the DataGrid is using as a data source. When the popup window is closed I want to refresh the main window -- i.e., cause a postback to happen. Is this possible?
20
439
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, allowing user choose date. Then, this popup returns the year, month and day to the correspondent textbox. So far, so good. PROBLEM: The problem is that the applications opens so popup's as the number of
7
2601
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 server-side controls and do a postback. While processing on the server we add javascript to the page load (i.e. onload=window.opener.focus(); window.close()). However, the window.close() command does not close the IE popup window. This happens...
3
1947
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
2680
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 Onload event registers a script to close the window from c#. The FillReport functions fills a gridview
4
4386
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 closed and also not refreshing Parent page..any body help me...
0
9522
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10111
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8770
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6603
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5364
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3866
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.