Project

General

Profile

Bug #18455 » 7873_wrong_ie6_condition2.diff

Administrator Admin, 2008-03-16 18:58

View differences:

typo3/template.php (working copy)
function resizeDocBody() {
$("typo3-docbody").style.height = (document.body.offsetHeight - parseInt($("typo3-docheader").getStyle("height")));
}
if (/MSIE 6/.test(navigator.userAgent)) {
Event.observe(window, "resize", resizeDocBody, false);
Event.observe(window, "load", resizeDocBody, false);
if (Prototype.Browser.IE) {
var version = parseFloat(navigator.appVersion.split(\';\')[1].strip().split(\' \')[1]);
if (version == 6) {
Event.observe(window, "resize", resizeDocBody, false);
Event.observe(window, "load", resizeDocBody, false);
}
}
');
// Get the page path for the docheader
(2-2/2)