IE7 Overlay Behavior

The browser detection code that is within control modal does not detect IE7 properly and thus the positioning fixes that are done for IE do not work. You can get around this by changing the following on line 47:

OLD CODE


Control.Modal.ie = !(typeof document.body.style.maxHeight != 'undefined');

NEW CODE


if (Prototype.Browser.IE) {
   Control.Modal.ie = true;
}

Hope this helps anyone else with the same problem.

Posted October 11th, 2007 at 1:26pm by Wickwire

Login or Register to Post