1. Pierre Bertet
  2. jQuery Superbox!
  3. Issues
Issue #18 resolved

Add the "beforeShow" setting to the documentation

Kelvin Luck
created an issue

It would be nice if superbox could trigger an event when the superbox had opened. This would allow you to run another script which manipulated the contents of the superbox once it was shown.

Comments (4)

  1. Pierre Bertet repo owner
    • changed status to open

    You can use the (undocumented) "beforeShow" setting :

    $.superbox.settings = {
      beforeShow: function() {
        // Your function
      }
    };
    

    I will add this setting to the documentation in the next commit.

  2. Log in to comment