Class com.zmags.api.Lightbox
If you are experiencing a problem and need to troubleshoot, please send an e-mail to support@zmags.com.
Constructor Attributes | Constructor Name and Description |
---|---|
com.zmags.api.Lightbox(window)
Enables communication between a lightbox and the viewer.
|
Function Attributes | Function Name and Description |
---|---|
<static> |
com.zmags.api.Lightbox.close()
Closes the current lightbox. |
Class Detail
com.zmags.api.Lightbox(window)
Enables communication between a lightbox and the viewer.
Author: Zmags.
To use the API, include this javascript file in the page loaded in the lightbox and call one of the static methods to communicate with the viewer. There is no need to construct an instance of Lightbox directly. See the documentation of the static methods for examples of how to use the API.
Author: Zmags.
- Parameters:
- {Window} window
- The current window.
Function Detail
<static>
com.zmags.api.Lightbox.close()
Closes the current lightbox.
Lightbox API Test