witten
/
luminotes
Archived
1
0
Fork 0

Fixes for IE 6.

This commit is contained in:
Dan Helfman 2008-11-18 16:16:52 -08:00
parent 00c8aa6c25
commit 4c3d374062
2 changed files with 4 additions and 2 deletions

View File

@ -9,7 +9,7 @@
#note_tree_area {
position: absolute;
width: expression( eval( document.all.everything_area && ( document.all.everything_area.offsetLeft - 60 ) || 0 ) );
width: expression( eval( document.all.everything_area && document.all.everything_area.offsetLeft || 0 ) );
top: expression( eval( document.compatMode && document.compatMode == 'CSS1Compat' ) ? documentElement.scrollTop + 30 : document.body.scrollTop + 30 );
}
@ -24,7 +24,7 @@
#link_area {
position: absolute;
width: expression( eval( document.all.everything_area && document.all.everything_area.offsetLeft || 0 ) );
width: expression( eval( document.all.everything_area && ( document.all.everything_area.offsetLeft - 60 ) || 0 ) );
top: expression( eval( document.compatMode && document.compatMode == 'CSS1Compat' ) ? documentElement.scrollTop + 30 : document.body.scrollTop + 30 );
}

View File

@ -684,6 +684,8 @@ Editor.prototype.focus = function () {
}
Editor.prototype.contents = function () {
if ( !this.document || !this.document.body )
return "";
return this.document.body.innerHTML;
}