Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing a window
Message
From
30/11/2000 10:26:54
 
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
00446553
Message ID:
00447353
Views:
16
>>From a javascript command, what is the command to resize the window? I'm looking for the same behavior as when we click on the zoom button from the upper right.
>
>Michel,
>This works in IE 5 and Netscape 4.
>< script language=javascript >
>function resizebrowser() {
>window.moveTo(0, 0);
>window.resizeTo(screen.availWidth, screen.availHeight);
>}
>< /script >
>< input type=button value=Resize onclick=resizebrowser()>
>It doesn't maximize the window but it does resize it to its maximum dimensions.

This is what I am using right now. It seems we can't accomplish a maximized zoom presently.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform