There is indeed method element.componentFromPoint(iCoordX, iCoordY) in Internet Explorer, but how do I differentiate a mouse click occurred in the content area of an element from the click occurred on its scrollbar in other browsers?
views:
194answers:
1
+1
A:
In Gecko-based browser it is possible to check on Event.originalTarget. If click happened on element's scrollbar this property will have a XULElement object returned. WebKit and Presto to go...
Sergey Ilinsky
2009-01-08 14:10:33
I did not know that. Have been looking for a solution to this for years.
Crescent Fresh
2009-01-08 15:52:14