Bug #18455 » 7873_wrong_ie6_condition.diff
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
|