title: Determine the mouse position inside an iframe, but inclusive of the parent
body: <p>I have an iframe inside which i detect a right click and pass the mouse event to a function in the parent. Here, (inside the parent function), i have the logic to display a custom context menu and the context menu html markup is inserted into the parent DOM. Thus is need the mouse position according to the viewport (or the parent DOM), but what i received is relative to the iframe.</p>
  
  <p>I tried using offsetTop and offsetParent, but this iterated only till the body tag of the innerpage.</p>