Solved

how to resize a browser window dynamically ?

Posted on 1998-12-17
11
274 Views
Last Modified: 2010-04-09
I need a JavaScript solution for window resize problem that would work consistently in 3.0+ browsers. Is there any way to have a JavaScript function that would resize a window when, let's say, a user clicks on a button ?
It's ok if window content is reloaded. However, it's not OK to close and reopen this window.
0
Comment
Question by:mitek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
11 Comments
 
LVL 4

Expert Comment

by:martinag
ID: 1840743
resizeTo(width, height) will only work in 4.x browsers.

In other browser there's nothing to do, as far as I know.

Martin
0
 
LVL 4

Expert Comment

by:martinag
ID: 1840744
So the button would be like
<FORM><INPUT TYPE="BUTTON" VALUE="Resize" onClick="resizeTo(300,70)"></FORM>

Martin
0
 
LVL 4

Author Comment

by:mitek
ID: 1840745
is there any way to make it work in 3.0 browsers ?
(probably not)
oh well. not a big deal.
0
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

 
LVL 4

Expert Comment

by:martinag
ID: 1840746
I don't think so. Sorry.

Martin
0
 

Expert Comment

by:cbittner
ID: 1840747
No, there is no way to resize in 3.x The only way would be to simulate resizing which would require opening a new window with the new size parameters and the same content and closing the calling window. A little flashing effect when the windows open and close but the user would probably see that as the window resizing.
0
 
LVL 4

Expert Comment

by:martinag
ID: 1840748
Do you want me to answer this?

Martin
0
 
LVL 4

Author Comment

by:mitek
ID: 1840749
as you wish.
0
 
LVL 4

Author Comment

by:mitek
ID: 1840750
Actually, hold on. Did you ever work with Visual Studio 98 ?
0
 
LVL 4

Expert Comment

by:martinag
ID: 1840751
No. Why do you ask that?

Martin
0
 
LVL 4

Author Comment

by:mitek
ID: 1840752
Never mind. If you were, I'd ask you a question about some funky thing in Visual Studio that we're having problems with, but it will make no sense since you don't know the program...

0
 
LVL 4

Accepted Solution

by:
martinag earned 120 total points
ID: 1840753
Probably not... :-)

I'll answer this one now. Merry Christmas!

Martin
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question