Any js guru's out there that can throw us php/etc guys a biscuit and show us how to make a button that will do a standard SAVE function and update the server without closing the editor window and leave the user where they were? Thanks! DCl
Sat, 08/13/2005 - 16:08
#1

RE: Save without Closing Button? How???
RE: Save without Closing Button? How???
-place a hidden DIV but style it to be absolutely positioned in the center of the page, but assure this is not visible:
<div id='dialog' style='display:none;'>
-place a iframe (named as you like, eg.: 'shadow') inside the hidden div.
-src the iframe to a php (or something) file that manage the saving stuff (read _POST data etc...)
-when you submit the form containing FCKEditor (onsubmit) make the div visible.
In this way you'll have a dialog "window" which comes out when you press submit and actually return the messages from your saving script; I'm still looking how to make this dialogwindow disappear, but that's not an hard task. Tell me if you guys want more details, maybe a write a little example.
RE: Save without Closing Button? How???
http://www.saulmade.nl/FCKeditor/FCKPlugins.php
http://sourceforge.net/tracker/index.ph ... tid=737639
http://sourceforge.net/forum/forum.php? ... _id=257179