Add an option to disable autoclose

Create issue
Issue #40 open
Former user created an issue

I think there is an issue that is holding back superbox as you cannot deliver anything really meaningful in superbox right now. This is because you have to constantly worry about an accidental click anywhere on the page, outside superbox, closing whatever application/dialog you were trying to deliver.

I think there needs to be a way to supress the closing of superbox when clicking the background, therefore relying on the link to close it, or closing it programitcally.

I tried to figure out how to trap the click, but could not figure out what element was controlling this behavior.

Comments (4)

  1. Former user Account Deleted

    I figured it out. This feature is controlled on line 564. I added my own switch in - I am not *at all* a great programmer, so I won't post my hack, but if you want to alter the feature I talk about here I reccomend it.

    It allows you to present information/form/etc that cannot be easily or accidentally lost but requires explicit removal.



  2. Former user Account Deleted

    I am using jquery.superbox-min-0.9.1.js . I too want to enable "Close using link only". please tell me what changes I need to do in script ?

    Thanks Jeet

  3. Log in to comment