resizable => yes - Javascript
This is a discussion on resizable => yes - Javascript ; 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 -------- *...
-
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 -------- *
-
Re: resizable => yes
"Thierry Loiseau" <loiseauthierry@free.fr> wrote
> 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/
-
Re: resizable => yes
Ivo <no@thank.you> wrote:
> "Thierry Loiseau" <loiseauthierry@free.fr> wrote
> > 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 -------- *
-
Re: resizable => yes
Ivo said the following on 4/26/2007 1:58 PM:
> "Thierry Loiseau" <loiseauthierry@free.fr> wrote
>> 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/
Similar Threads
-
By Application Development in forum DOTNET
Replies: 2
Last Post: 08-06-2007, 11:01 AM
-
By Application Development in forum Idl-pvwave
Replies: 10
Last Post: 04-13-2007, 12:55 PM
-
By Application Development in forum Java
Replies: 0
Last Post: 10-03-2006, 07:40 AM
-
By Application Development in forum Perl
Replies: 3
Last Post: 05-15-2006, 04:42 PM
-
By Application Development in forum Perl
Replies: 2
Last Post: 03-14-2005, 03:04 PM