Hi,
I have a site here: http://www.atom.no/christiane/defaul...&RESOURCE_ID=2
which uses divs to create a outlook like calendar interface. When you
click at a specific day, a specific hour, it will suggest to create a
booking at the clicked day.
I was having a load of troubble trying to find exactly where inside
the div element the mouse was clicked - untill I found out that ie
supported a property called simply event.y - that one seems to return
the correct y corrdinate of the click inside the div no matter the
position of the div on the page -
I would like the calendar to work on firefox aswell, and that's why I
am asking you for help - I simply wonder how I can get the y position
of the mouse inside each weekday div (from 0 to the height of the
div.)
Thanks in advance-
Simon
I have a site here: http://www.atom.no/christiane/defaul...&RESOURCE_ID=2
which uses divs to create a outlook like calendar interface. When you
click at a specific day, a specific hour, it will suggest to create a
booking at the clicked day.
I was having a load of troubble trying to find exactly where inside
the div element the mouse was clicked - untill I found out that ie
supported a property called simply event.y - that one seems to return
the correct y corrdinate of the click inside the div no matter the
position of the div on the page -
I would like the calendar to work on firefox aswell, and that's why I
am asking you for help - I simply wonder how I can get the y position
of the mouse inside each weekday div (from 0 to the height of the
div.)
Thanks in advance-
Simon
Comment