Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Glen on Dec 10, 2008 02:32
open dhtmlx forum
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.

Thaks

Answer posted by Support on Dec 10, 2008 03:16
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 
<style>
   html, body{ height:100% }
</style>

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