title: jQuery scroll event: how to determine amount scrolled (scroll delta) in pixels?
body: <p>I have this event:</p>
  
  <pre><code>$(window).scroll(function(e){    
      console.log(e);
  })
  </code></pre>
  
  <p>I want to know, how much I have scroll value in pixels, because I think, scroll value depends from window size and screen resolution.</p>
  
  <p>Function parameter <code>e</code> does not contains this information.<br>
  I can store <code>$(window).scrollTop()</code> after every scroll and calculate difference, but can I do it differently?</p>