Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need updated logic to determine window height
Message
From
19/04/2003 13:10:32
 
 
To
All
General information
Forum:
Internet
Category:
Javascript
Title:
Need updated logic to determine window height
Miscellaneous
Thread ID:
00779506
Message ID:
00779506
Views:
36
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
Reply
Map
View

Click here to load this message in the networking platform