<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>I might be wrong but<BR>
I suspect that this visual mismatch is being caused by pixel aspect ratio ?!<BR>
I have a hunch that widescreen display is being achieved by the change on PAR.<BR>
<BR>
Try multiplying the offsetlHeight with const.val. of: 1.333333333333 and see what comes up on wide screen monitor.<BR>
<BR>
<BR>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR> Troy III<BR> progressive art enterprise<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR><BR><BR>
<HR id=stopSpelling>
<BR>
> Date: Tue, 3 Oct 2006 11:39:49 +0100<BR>> From: javascript@mattbarton.org<BR>> To: javascript@LaTech.edu<BR>> Subject: [Javascript] Strange problem with getting a <table> tag's .offsetHeight property. <BR>> <BR>> Hi,<BR>> <BR>> I have a function in my intranet application which over-rides the <BR>> browser's context menu, and creates it's own. It displays this context <BR>> menu in a popup created with the window.createPopup() method. It does <BR>> this so that the popup can float over frame boundaries, and even the <BR>> browser window boundaries.<BR>> <BR>> It first shows the popup, fills it with html generated for the menu, <BR>> grabs the offsetHeight property of a containing table, then hides the <BR>> popup, and re-shows it dimensioned correctly for the table it contains. <BR>> This is because popups created with window.createPopup() cannot be <BR>> resized.<BR>> <BR>> This works fine for all of my users, apart from a couple of new laptops <BR>> that use widescreen displays, and where the users have a larger than <BR>> normal DPI setting on their displays. In these cases the offsetHeight <BR>> property is returning a value a good deal smaller than it should be.<BR>> <BR>> Two different systems, running the same OS (WinXP, SP2), the same <BR>> browser (IE6), the same DPI (133), one with a widescreen display, and <BR>> one with a regular display, return different values for offsetHeight <BR>> when calculating the height of identical tables. The only difference I <BR>> can see between the systems is the widescreen-ness of the monitor.<BR>> <BR>> If the user with the widescreen laptop changes his DPI to the standard <BR>> 96, it behaves normally, returning values consistent with the regular <BR>> systems.<BR>> <BR>> This is observable on all the widescreen laptops we have.<BR>> <BR>> Anyone got any idea at all?<BR>> <BR>> Matt Barton<BR>> _______________________________________________<BR>> Javascript mailing list<BR>> Javascript@LaTech.edu<BR>> https://lists.LaTech.edu/mailman/listinfo/javascript<BR><BR><br /><hr />Share your special moments by uploading 500 photos per month to Windows Live Spaces <a href='http://clk.atdmt.com/MSN/go/msnnkwsp0100000001msn/direct/01/?href=http://spaces.live.com/signup.aspx ' target='_new'>Share it!</a></body>
</html>