startLightbox

shows a custom lightbox in the specified HTML container centered on the screen

void startLightbox(string id,HTMLElement box);
idstringthe event's id
boxHTMLElementthe lightbox's HTML container

Example

<div id="my_form">
    ...
</div>
 
<script>
scheduler.showLightbox = function(id) {
    scheduler.startLightbox(id, document.getElementById("my_form"));
    ...
};
</script>

Related samples

Details

To hide a custom lightbox you can use the endLightbox method.

See also
Back to top