Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resizing a window
Message
De
30/11/2000 10:26:54
 
 
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00446553
Message ID:
00447353
Vues:
10
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform