myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renzo Tomaselli <>
Subject Re: [Trinidad] js centering bug in tr:panelPopup
Date Mon, 21 Jan 2008 10:19:38 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
Done, created <br>
<pre wrap=""><a class="moz-txt-link-freetext"
-- Renzo<br>
Andrew Robinson wrote:
 type="cite">Please open an issue with a patch<br>
  <div class="gmail_quote">On Jan 19, 2008 11:40 AM, Renzo Tomaselli
&lt;<a moz-do-not-send="true" href=""></a>&gt;
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
in method TrPanelPopup._centerOnScreen() the window height is<br>
computed for IE through document.body.clientHeight.<br>
This provides document height instead of window height, in case of IE 6+<br>
in strict mode.<br>
The final result is an up-shifted panel, even beyond the top in case of
panels higher than current document.<br>
Using document.documentElement.clientHeight does the right job, if<br>
returned value is not 0 (strict). Otherwise we are in quirks mode, thus<br>
use document.body.clientHeight.<br>

View raw message