I want to get the position of an element relative to the browser’s viewport (the viewport in which the page is displayed, not the whole page). How can this be done in JavaScript?

Many thanks

11 Answers
11

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *