By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,996 Members | 892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,996 IT Pros & Developers. It's quick & easy.

How can I make a window Resizable?

P: n/a
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: window.resizable=true;">
TIA.
Sam

Jan 4 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
sa********@gmail.com said the following on 1/4/2006 4:53 PM:
Hello!

I opened a new window using 'resizable=no'.
Don't.
Can the child window make itself resizable even if it's opened with
'resizable=no'?
Depends on the browser and user settings.
For example:

<body onload="javascript: window.resizable=true;">


Did you test it?

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jan 4 '06 #2

P: n/a
Thanks for the answer.
I tested it with IE6 and it didn't work.

Sam

Jan 5 '06 #3

P: n/a
sa********@gmail.com said the following on 1/4/2006 8:24 PM:

Please quote what you are replying to.

If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at
the top of the article, then click on the "Reply" at the bottom of the
article headers.
Thanks for the answer.
I tested it with IE6 and it didn't work.


The way you make a window resizable is that you don't disable
resizability to begin with. Then, it's not an issue.

Why are you wanting to open a window without allowing resize though?

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jan 5 '06 #4

P: n/a

sa********@gmail.com wrote:
Hello!

I opened a new window using 'resizable=no'.
Can the child window make itself resizable even if it's opened with
'resizable=no'?


Yes, it can.
'resizable=no' is just a general hint to the window manager not to
provide resize widgets.It's up to the window manager to obey it and up
to the user to override it. Not necessarily with Javascript - there are
easier and faster ways.
I, for example, whenever face a non-resizable popup (it annoys the hell
off me), call the mouse gesture of "duplicate window". The same page
gets opened in a standard, fully-featured browser window, then I just
close the annoying popup. Bookmark the page, then open the bookmark,
window settings won't be remembered. Set window.width, window.height
from a bookmarklet.
The options are countless. And if you wonder why there's so many of
them, non-resizable windows are EXTREMELY annoying, so users developed
all kinds of workarounds. They have them and they will use them against
you. And send you their worst regards.

Jan 5 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.