Ok I have finally figured out how to maximize a window:
Anyone know how to do this?
CKEDITOR.instances.editorName.execCommand('maximize');Now how do I also expand the toolbar? This toggles it, but I want it to open up and remain open:
CKEDITOR.instances.editorName.execCommand('toolbarCollapse');So right now I have:
<a href="javascript:;" onclick="CKEDITOR.instances.editorName.execCommand('maximize');CKEDITOR.instances.editorName.execCommand('toolbarCollapse');"><img src="images/full_window.gif" alt="Expand" border="0" /> Expand to Full Window</a>The problem with this is that if the person expands the toolbar, then clicks on the link, it will then expand to full window, but the toolbar will be collapsed. I want it so that when they click on the link, no matter whether the toolbar is collapsed or not, it will expand and go into full window mode.
Anyone know how to do this?