open customize lightbox to x,y position


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.


You can get lightbox HTML object using getLightbox function and set top and left properties. … htbox.html

For example:

Thank you so much!.. :slight_smile:


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.


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

See example: