Hi guys for a JS app that sits on top of a website and allow indicates to the user the depth of certain elements how would I calculate the number of divs that lie under a the mouse at a given location?
In answer to questions:
- jQuery or another library is fine with me.
- Haven't made a start yet, although I already have my mouse tracking code.
just get the count of parents that the element has.