title: How to make pop up div locked to the page coordinates in jQuery
body: <p>On Stack Overflow page, most pop up divs are "glued" to current page coordinates, so if you scroll the screen up/down, popup window remain glued to the clicked element. How can I achive that?</p>
  
  <p>What I have currently is than when I click on the button, popup appears, but when I scroll the page up/down, element remains glued to the window screen, and not page coordinates. How can I get it to work Stack Overflow way, so the pop up div will be glued to page coordinates?</p>
  
  <p>My current code for that element is</p>
  
  <p><code>$(".userinfo").offset({ top: position.top + 60, left: position.left});</code></p>
  
  <p>css position of the div is obviously absolute</p>