Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > resizable => yes

Reply
Thread Tools

resizable => yes

 
 
Thierry Loiseau
Guest
Posts: n/a
 
      04-26-2007
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 -------- *
 
Reply With Quote
 
 
 
 
Ivo
Guest
Posts: n/a
 
      04-26-2007
"Thierry Loiseau" <> 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/


 
Reply With Quote
 
 
 
 
Thierry Loiseau
Guest
Posts: n/a
 
      04-26-2007
Ivo <> wrote:

> "Thierry Loiseau" <> 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 -------- *
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Yes means yes Bucky Breeder Computer Support 0 05-19-2009 01:37 PM
yes minister and yes prime minister wanted music_mania DVD Video 11 12-11-2006 07:32 PM
[IE: Yes Opera:Yes Mozilla:No] : Error on Postback and Validation teo ASP .Net 3 11-11-2006 04:53 AM
Kernel.y and yes,yes,yes not least surprise Jamie Herre Ruby 1 01-07-2005 07:33 PM
yes yes Kevin Walsh Computer Support 1 08-30-2004 12:55 AM



Advertisments