atar.yosef Posted October 14, 2013 Share Posted October 14, 2013 Hi there!!Is there any way to find the absolute position of an element? (Element.offsetTop, Element.style.top etc, are all give the relative position of the element related to its parent element).Thanks in advance!!Atar. Link to comment Share on other sites More sharing options...
Ingolme Posted October 14, 2013 Share Posted October 14, 2013 There's a solution to the problem here: http://www.quirksmode.org/js/findpos.html I use it all the time. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now