Changeset 1070

Show
Ignore:
Timestamp:
2007-11-04 21:17:30 (2 years ago)
Author:
alfonsoml
Message:

Improve [434] to remove the initial flicker (#1418)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/internals/fcktoolbarset.js

    r900 r1070  
    9191                        // Initialize the IFRAME document body. 
    9292                        eTargetDocument.open() ; 
    93                         eTargetDocument.write( '<html><head>' + sBase + '<script type="text/javascript"> var adjust = function() { window.frameElement.height = document.body.scrollHeight ; }; window.onresize = adjust; window.onload = function () {adjust(); window.setTimeout( adjust, 1000 ); }</script></head><body style="overflow: hidden">' + document.getElementById( 'xToolbarSpace' ).innerHTML + '</body></html>' ) ; 
     93                        eTargetDocument.write( '<html><head>' + sBase + '<script type="text/javascript"> var adjust = function() { window.frameElement.height = document.body.scrollHeight ; }; window.onresize = adjust; window.onload = function () {window.setTimeout( adjust, 0 );}</script></head><body style="overflow: hidden">' + document.getElementById( 'xToolbarSpace' ).innerHTML + '</body></html>' ) ; 
    9494                        eTargetDocument.close() ; 
    9595