Add the "beforeShow" setting to the documentation

Create issue
Issue #18 resolved
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