myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renzo Tomaselli <renzo.tomase...@tecnotp.it>
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">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Done, created <br>
<pre wrap=""><a class="moz-txt-link-freetext"
 href="https://issues.apache.org/jira/browse/TRINIDAD-911">https://issues.apache.org/jira/browse/TRINIDAD-911</a></pre>
-- Renzo<br>
<br>
Andrew Robinson wrote:
<blockquote
 cite="mid:bc36a6210801191157o66da6f72xf34c8c965ddaa79b@mail.gmail.com"
 type="cite">Please open an issue with a patch<br>
  <br>
  <div class="gmail_quote">On Jan 19, 2008 11:40 AM, Renzo Tomaselli
&lt;<a moz-do-not-send="true" href="mailto:renzo.tomaselli@tecnotp.it">renzo.tomaselli@tecnotp.it</a>&gt;
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
1ex;">Hi,
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
    <br>
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>
    <br>
    <br>
    <br>
  </blockquote>
  </div>
  <br>
</blockquote>
</body>
</html>

Mime
View raw message