Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Couetbis on Aug 26, 2008 01:35
open dhtmlx forum
Tooltips redefinition

Hi,
I define a new way to take tootip (on onmouseover event) in order to take html content.
It work fine in Firefox but not in InternetExplorer.
I determine mouse position with e.pageX/e.pageY for firefox and event.x/event.y for IE. This function work outside grid but not inside. Instructions event.x and event.y have not the good value.
Have you got any idea what cause this conflict ?
Thanks in advance
Answer posted by Support on Aug 26, 2008 06:32
The x and y are coordinates relative to parent element, most probably you need to use clientX, clientY instead
Answer posted by couetbis on Aug 28, 2008 00:50
Yes, I have Javascript errors but it's work !
Thanks very much