Guest User

Untitled

a guest
Aug 14th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. How do you get a browser's document.body coordinates with respect to the screen?
  2. x = window.screenLeft
  3. y = window.screenTop + (window.outerHeight - window.innerHeight)
  4.  
  5. x = window.mozInnerScreenX
  6. y = window.mozInnerScreenY
Add Comment
Please, Sign In to add comment