DHTML Methods
Returns the element for the specified iX and iY coordinates.
oElement = document.elementFromPoint ( iX , iY )
iX |
Required. X-offset, in pixels. |
iY |
Required. Y-offset, in pixels. |
Returns an element object.
Coordinates are supplied in client coordinates ( 0, 0 is the top left corner of the client area ). For elementFromPoint to exhibit expected behavior, the object or element located at position ( x, y ) must support and respond to mouse events.
When using this method with the Structured Graphics or Sprite objects, MouseEventsEnabled must be 1.
document
clientX, clientY