Close calendar in absolute positioned div

Hi Guys

I have tried to use the close calendar sample you list for clicking on the body but this event never fires in IE.

Is there another way to do this.

The calendar is sitting in a nested absolute positioned div.


Most probably document.body just doesn’t take whole screen, so you are clicking on some empty space which is not a part of "body"
Try to add next line

html, body{ height:100% }

this code will force body to take all available space, which must result in correct event processing.