Closing the light box

i need to close the light box for a particular case.
im using scheduler.resetLightbox(); but the scheduler is not accessible after that.i want the scheduler to work normally after closing of lightbox.

hello, try scheduler.hide_lightbox()


But the event still remains how to remove it too.

use scheduler.cancel_lightbox() which is similar to pressing cancel button it the lightbox, or just use scheduler.deleteEvent after lightbox closing to delete the unnecessary event.

kk Thanx