#35: Use floating panels for dialogs
--------------------------+-------------------------------------------------
  Reporter:  FredCK       |       Owner:  martinkou    
      Type:  New Feature  |      Status:  closed       
  Priority:  Normal       |   Milestone:  FCKeditor 2.6
 Component:  General      |     Version:               
Resolution:  fixed        |    Keywords:  Review+      
--------------------------+-------------------------------------------------
Comment (by alex):

 Hello, i hava a solution for the DisplayMainCover-function in fckdialog.js
 without the need of trigger an resize or scroll-event.

 a short description so far i remember (i use it already in an other
 context):

  use: cover.style.width='100%';
  use: cover.style.height='100%';

 Browserdependend:
 1) use for all modern browsers:
 1.1) cover.style.position='fixed' (instead of 'absolute')

 2) use only for IE5 and IE6:
 2.1) cover.style.position='absolute'
 2.2) set rootDoc.body.style.width=100%;
 2.3) set rootDoc.body.style.height=100%;
 2.4) set rootDoc.body.style.overflow='hidden';
 2.5) now you only need to paste your cover-div and cover-iframe over the
 actual "scrollpos"

 3) Only for IE5 and IE6: On close you have to repair:
 rootDoc.body.style.width
 rootDoc.body.style.height
 rootDoc.body.style.overflow


 it's only so far i remember (no guarantee of correctness)

 i think you don't need the resizeHandler-function.
 if you are interested, i can search my script and send it to you

 ps: you make very, very great work

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/35#comment:68>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to