Open lightbox from an anchor

Hi, I need to create new events from an anchor. How can i open lightbox form from that element?

Thanks in advance.

The best solution - call scheduler.addEventNow(…
it will create new event, and will open editor for it ( the same as after creating event by dbl-clicking )

Also, if you need to open lightbox for any event you can use scheduler.showLightbox api