Given absolute or relative position (top & left) is there any way to get the nearest html element to these co-ordinates?
Or alternately, is there any way to craf
The best way I can think of to do this would be to have a search function loop that loops through all your existing elements and compares the co-ordinates, keeping a copy of the nearest variable all the time.
Thats the way I can think of doing this, and what I would do if I was under your constraints.