Open directly lightbox when click to add a event

Hi.
I would ask if is it possible to open directly the lightbox when add a new event instead of a event view on the scheduler?
And if it is possible to open the lightbox from a anchor in the page external from scheduler?
Thanks

a) try to use
scheduler.config.details_on_dblclick = true;

b) to open lightbox from external link you can use

    <a href="javascript:scheduler.addEventNow();">Add</a>

Ok thanks
I would ask if is it possible to add a event from an external anchor on the day that is selected by user that can be differet from today?

Yep, the same command can be used with extra parameters

scheduler.addEventNow(new Date(2010,1,1)); //start of event

if you need the day of current view

scheduler.addEventNow(new Date(scheduler._date)); //start of event

Hi Stanislav.

About Bysqri’s first question. When adding a new event, is it possible for lightbox to open automatically instead of clicking on “Details” link?. For example on day-view I have to save it first and then go to details for me to see the lightbox.

I’ve tried the code you mentioned:

scheduler.config.details_on_dblclick = true;

But it’s not working. Maybe there’s another way or i’m just doing it wrong.

Thanks again

There is one more flag

scheduler.config.details_on_create = true;