instant.js

Provides pop-up functionality to any element.


Functions


Instant.assign(element, callback)

Assigns element a pop-up functionality. The element can be then shown by element._Instant_show() and will be hidden by clicking elsewhere. After hiding, callback will be executed.