I am appending something to the FCKEditor using SetHTML. How do I scroll down?
oEditor = FCKeditorAPI.GetInstance( 'myfckeditor' )
oEditor.EditorDocument.body.scrollIntoView( false )
scrolls the entire page, and with FCKConfig.BodyId = 'fck_body'
$('fck_body')
is undefined.
Any suggestions?
Thanks,
Abu Mats
oEditor = FCKeditorAPI.GetInstance( 'myfckeditor' )
oEditor.EditorDocument.body.scrollIntoView( false )
scrolls the entire page, and with FCKConfig.BodyId = 'fck_body'
$('fck_body')
is undefined.
Any suggestions?
Thanks,
Abu Mats
RE: Scrolling programmatically
ediv = oEditor.EditorDocument.getElementById('fck_body');
but still
ediv.scrollIntoView( false );
doesn't scroll up.
Abu Mats