Mantis 83: HTML + IE7

Monotone-Parent: 754c42e76d98f86e1fdd3158973b91b56f2db830
Monotone-Revision: e01d0df10ecfe018a8dc8810da911702d7a40d28

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-07-31T13:52:29
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-07-31 13:52:29 +00:00
parent d493dcd001
commit a3e7730ef1

View File

@@ -748,15 +748,17 @@ function onWindowResize(event) {
var content = $("cke_contents_text");
var height = Math.floor(window.height() - editor.offsetTop);
content.height = (height-60) + "px";
content.style.height = (height-60) + "px";
if (Prototype.Browser.IE) {
editor.style.width = '';
editor.style.height = '';
height += 3;
}
content.height = (height-60) + "px";
content.style.height = (height-60) + "px";
content.setStyle({ 'top': hr.offsetTop + 'px' });
else {
content.setStyle({ 'top': hr.offsetTop + 'px' });
}
}
else
textarea.rows = Math.floor((window.height() - textarea.offsetTop) / rowheight);