Disabling Click outside !
I use this on another project:
new Control.Modal(link,{
beforeClose: function(){
throw $break;
}
});
This prevents just that modal from closing no matter what. Add a condition to that to allow it to close when you want.
Posted June 14th, 2007 at 9:08pm by ryan
Hi, nice work by the way.
I'm using Control.Modal to submit a form (with iframe) so i would like the modal not to close when clicked outside it, only when you explicit press "close". How can i disable the click outside event?
Thanks in Advance.
Posted June 14th, 2007 at 5:03pm by behem0t