Thursday, August 30, 2007

document.elementFromPoint support in mozilla/firefox

Bug 199692 has been fixed on the trunk of firefox 3.0. So all 4 major browsers are supporting elementFromPoint now. Though Opera's support is a little bit different with others.

Labels:

2 Comments:

Blogger Shankar said...

i am using an document.elementFromPoint

var oE.ostr;
oE=document.elementFromPoint(event.x,event.y);

ostr=oE.name;
return ostr;

this code working on IE fine, but in firefox not return any id or name , I am using firefox 3.0

7:43 AM  
Blogger cyfer said...

Hi, Shankar,

If I were you I will check if the event is used properly.

More information about event in mozilla/firefox can be found at http://developer.mozilla.org/En/DOM:event.

3:01 PM  

Post a Comment

<< Home