The problem I\'m trying to solve is \"What\'s at this position?\"
It\'s fairly trivial to get the x/y position (offset) of a DIV, but what about the reverse? How do
If all you have is the X and Y position, (and you can't track mouse movement like you mentioned) then you will have to traverse the DOM, looping through every DIV. For each DIV you will need to compare its X and Y coordinates against those you have. This is an expensive operation, but it is the only way. I suggest you might be better off rethinking your problem instead of coming up with a solution for it.