473,396 Members | 1,773 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,396 software developers and data experts.

resizable => yes

Hello,

If I do :

w=window.open('','a','resizable=no, width=400, height=400, toto=3');

can I modify 'w' to resizable=yes ?

Thank you,
Thierry
--
* * __*__ *
* * * -----oOOo---°O°---oOOo------ * *
<http://astrophoto.free.fr *
* * -------- oOOo oOOo -------- *
Apr 26 '07 #1
3 4425
Ivo
"Thierry Loiseau" <lo************@free.frwrote
If I do :
w=window.open('','a','resizable=no, width=400, height=400, toto=3');
can I modify 'w' to resizable=yes ?
Not after the new window has been opened, no. You can only modify size
(resizeTo/resizeBy) and position (moveTo/moveBy) of existing windows,
depending on various circumstances. If you want your popup to be resizable,
you will need to close it and re-open it with the new parameter
"resizable=yes".

In general, it seems to me that making a nonresizable window is a
demonstration of shortsightedness and cluenessless. Because users who do not
want (or need) to resize the window, will never notice what setting is
applied, and all others will be highly annoyed the moment they find that a
common convenience, a basic end-user-right, has been taken away from them.
So simply set all your windows to be resizable in all circumstances and
everybody will be happy.
hth
ivo
http://4umi.com/web/javascript/
Apr 26 '07 #2
Ivo <no@thank.youwrote:
"Thierry Loiseau" <lo************@free.frwrote
If I do :
w=window.open('','a','resizable=no, width=400, height=400, toto=3');
can I modify 'w' to resizable=yes ?

Not after the new window has been opened, no. You can only modify size
(resizeTo/resizeBy) and position (moveTo/moveBy) of existing windows,
depending on various circumstances. If you want your popup to be resizable,
you will need to close it and re-open it with the new parameter
"resizable=yes".

In general, it seems to me that making a nonresizable window is a
demonstration of shortsightedness and cluenessless. Because users who do not
want (or need) to resize the window, will never notice what setting is
applied, and all others will be highly annoyed the moment they find that a
common convenience, a basic end-user-right, has been taken away from them.
So simply set all your windows to be resizable in all circumstances and
everybody will be happy.
hth
ivo
http://4umi.com/web/javascript/
Ok ! Thank you very much !

Thierry
--
* * __*__ *
* * * -----oOOo---°O°---oOOo------ * *
<http://astrophoto.free.fr *
* * -------- oOOo oOOo -------- *
Apr 26 '07 #3
Ivo said the following on 4/26/2007 1:58 PM:
"Thierry Loiseau" <lo************@free.frwrote
>If I do :
w=window.open('','a','resizable=no, width=400, height=400, toto=3');
can I modify 'w' to resizable=yes ?

Not after the new window has been opened, no.
Makes me glad I surf with Firefox :)

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 26 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: dms | last post by:
Hi, Is there another, more friendly way to create resizable arrays without using the realloc function? Thanks David Sharp
4
by: VR | last post by:
First, greetings to everyone :) I'm doing a university seminar & I've encountered a problem. I have a gallery with thumbnails linked on pictures. What I want is popup to be opened with...
4
by: sam.s.kong | last post by:
Hello! I opened a new window using 'resizable=no'. Can the child window make itself resizable even if it's opened with 'resizable=no'? For example: <body onload="javascript:...
3
by: Al Henderson | last post by:
Morning All, I have a web application where we pop up a little calendar control in a new window to allow users to choose dates. For cross-browser purposes, this is done via window.open (with...
3
by: Anupama | last post by:
Is it possible that first I make my window resizable,than if window is less than a fixed size I can make my window not resizable?Better to say can I change resizable feature during runtime?If...
11
by: Aaron Gray | last post by:
Hi, I have put together a bit of JavaScript to make a square resizable canvas :- http://www.aarongray.org/Test/JavaScript/resizable.html Problems I have :- a) I cannot seem to center it...
3
by: guarumal | last post by:
Hi, I am try to make a window resizable but it does not work. I am using in the child window <body onload="javascript: window.resizable=true;"> What else can I do?
2
by: Rastko Soskic | last post by:
Hi everyone! I need some tips, ideas, suggestions on best approach to create "resizable panels". The best example what I am trying to achieve could be MSN mail (hotmail) which have separate,...
1
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.