I run ckeditor inside fancybox2.
The problem is :
fancybox2 window opens at the bottom of the page, (i.e viewport changes to the bottom of the page), then fancybox opens.
When disable the CKEDITOR, so the fancybox window has just a simple <textarea> the position of the window is ok. This means that it is a CKeditor problem, or a "combination" with fancybox2
Description :
1. I have an empty <div id="dyn-con" style="display: none;"></div>
2. there is a <textarea id=""MsgText"" style=""width:524px;height:214px""></textarea>
3. I create dynamicly the content for the <div> (server side) and then triger the following commands::
CKEDITOR.replace( 'MsgText' )
$.fancybox('#dyn-con');
4. I tried to move the CKEDITOR command to fancybox2 events "beforeLoad" or "afterLoad" but problem still exist.
Please advise,
Best regards
yaron