Changeset 563 for trunk


Ignore:
Timestamp:
09/06/06 14:08:45 (13 years ago)
Author:
wymsy
Message:

ticket #318: make IE calculate correct height of popups in standards mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/popups/popup.js

    r504 r563  
    7979        } else { 
    8080                var docElm      = document.documentElement ? document.documentElement : null;     
    81                 var body_height = body.scrollHeight; 
     81                var body_height = docElm && docElm.scrollTop ? docElm.scrollHeight : body.scrollHeight; 
    8282     
    8383                window.resizeTo(body.scrollWidth, body_height); 
Note: See TracChangeset for help on using the changeset viewer.