Re: get element location
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: get element location

From: Csaba Gabor <danswer@gmail.com>
Date: Fri Mar 31 2006 - 13:12:02 CEST

dave.wayne@gmail.com wrote:
> Does anyone know of a script/know how to detect what elements are on a
> web page, givin only the co-ordindates of event.pagex and event.pagey ?

IE has document.elementFromPoint(x,y), but Mozilla/Firefox do not.
However, there is a quite interesting thread on simulating IE's
functionality at:
http://www.codingforums.com/showthread.php?t=21674

Csaba Gabor from Vienna
Received on Mon May 1 04:33:52 2006