Thanks Mithrilhall!
I also figured out that this works:
var srcTop, srcLeft, srcWidth, srcHeight;
var eParent, oSubMenu;
/*get a ref to the event source element*/
if (document.all)
source3=event.srcElement
else if (document.getElementById)
source3=e.target;
/*get abs location of source...
I need to position a <DIV> next to a table cell (<TD>) when the user mouses over. The table and table cell are NOT absolutely positioned. How can I determine the absolute pixel position of the <TD> element?
I have a reference to the TD element in my code. I have tried el.style.top, etc... but...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.