open customize lightbox to x,y position

Hello,

I am calling light box on click of any event name. But the light box opens in the fixed position defined in the css. But I want to open the light box from where it is clicked. So the X,Y position should be same as clicked event name in the month calendar view.
Let me know the way I can do.I appreciate you input in this issue.

Thanks

You can get lightbox HTML object using getLightbox function and set top and left properties. docs.dhtmlx.com/scheduler/api__s … htbox.html

For example: docs.dhtmlx.com/scheduler/snippet/a6288b8c

Thank you so much!.. :slight_smile:

Sten,

I just realize that the above code only worked in chrome not in IE.
In IE the lightbox is showing up in totally different x,y position.

Do you know how to fix it.

Thanks

e is a native click event. You could use clientX and clientY properties on it.

See example: docs.dhtmlx.com/scheduler/snippet/f964f14c