This is a tough one, I think. Explorer has a pair of proprietary objects, offsetX and offsetY which give the mouse coordinates for an event, relative to the srcElement. But unless you only care about IE, you'll need something cross-browser and this is an area where there has been a lot of inconsistency.
All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.