Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need updated logic to determine window height
Message
De
19/04/2003 13:10:32
 
 
À
Tous
Information générale
Forum:
Internet
Catégorie:
Javascript
Titre:
Need updated logic to determine window height
Divers
Thread ID:
00779506
Message ID:
00779506
Vues:
37
In order to determine a specific window.open() window definition height, once loaded, I was using something like this for IE:
lnBodyClientHeight=document.getElementById("FournierTransformationList").clientHeight
resizeTo(lnBodyClientWidth+10,lnBodyClientHeight+29)
Where 29 was the necessary amount of pixels as per the extra height pixels required to properly show a window. However, XP allows the user to change the window title bar height. So, this causes some weird effects. Anyone knows a better way to calculate the window height which would take care of any XP window title bar height?
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
Répondre
Fil
Voir

Click here to load this message in the networking platform