I need to get the element co-ordinates relative to browser window. How do you get that in javascript ?
Asked
Active
Viewed 185 times
1
-
Dup: http://stackoverflow.com/questions/160144/find-x-y-of-an-html-element-with-javascript – Crescent Fresh Apr 21 '09 at 10:41
-
4Does this answer your question? [Retrieve the position (X,Y) of an HTML element relative to the browser window](https://stackoverflow.com/questions/442404/retrieve-the-position-x-y-of-an-html-element-relative-to-the-browser-window) – James McGuigan Jul 10 '20 at 13:17