shows a custom lightbox in the specified HTML container centered on the screen
id | string | the event's id |
box | HTMLElement | the lightbox's HTML container |
<div id="my_form">
...
</div>
<script>
scheduler.showLightbox = function(id) {
scheduler.startLightbox(id, document.getElementById("my_form"));
...
};
</script>
To hide a custom lightbox you can use the endLightbox method.