I use a fixed position window with horizontal and vertical scrolling. And using position.top () to find the specific position of the div.
var position = anchor.position().top;
But when the scale is 1 or> 1, it works completely fine. But when the scaling is <1, then there are inconsistencies.
Jsfiddle example
source share