When I click the image icon in the editor the images properties windo comes up. The close window widget is disabled as is the right click.
I like this, and want to include the same functionality in my custom image browser... I much prefer if I could force the user to hit Cancel to close the window.
does any one know how this is managed?
Thanks.
I like this, and want to include the same functionality in my custom image browser... I much prefer if I could force the user to hit Cancel to close the window.
does any one know how this is managed?
Thanks.

RE: How to disable close on popups?
http://www.webreference.com/js/tutorial1/features.html
RE: How to disable close on popups?
http://www.mozilla.org/docs/dom/domref/ ... ref76.html
RE: How to disable close on popups?
location=no,menubar=no,resizable=no,toolbar=no,dependent=yes,dialog=yes,minimizable=no,modal=yes,alwaysRaised=yes
not sure what all those mean (yet) but they are used in the script FCKeditor uses to open dialog boxes. '
I add those options to my windo opener script and it worked a charm!
function openBrWindow(theURL,winName,features) {
var locked = 'location=no,menubar=no,resizable=no,toolbar=no,dependent=yes,dialog=yes,minimizable=no,modal=yes,alwaysRaised=yes,';
window.open(theURL,winName,locked+features);
}
RE: How to disable close on popups?
Thanks Duffy!