Fixes for IE 6.
This commit is contained in:
parent
00c8aa6c25
commit
4c3d374062
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#note_tree_area {
|
#note_tree_area {
|
||||||
position: absolute;
|
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 );
|
top: expression( eval( document.compatMode && document.compatMode == 'CSS1Compat' ) ? documentElement.scrollTop + 30 : document.body.scrollTop + 30 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#link_area {
|
#link_area {
|
||||||
position: absolute;
|
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 );
|
top: expression( eval( document.compatMode && document.compatMode == 'CSS1Compat' ) ? documentElement.scrollTop + 30 : document.body.scrollTop + 30 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -684,6 +684,8 @@ Editor.prototype.focus = function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
Editor.prototype.contents = function () {
|
Editor.prototype.contents = function () {
|
||||||
|
if ( !this.document || !this.document.body )
|
||||||
|
return "";
|
||||||
return this.document.body.innerHTML;
|
return this.document.body.innerHTML;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user