title: How do I find the browser scroll bars total scrollable height
body: <p>So I know that $(window).scrollTop() will give me the current position of the browser scroll bar, but how do I find the total scrollable area?</p>
  
  <p>i.e. If I scroll all the way down the final  $(window).scrollTop() might equal 300px and scrolling back to the top would return it back to 0px, but suppose I wanted to find the total $(window).scrollTop() area before hand? How would I do that?</p>
  
  <p>i.e. If I use $(window).scrollTop() I want something to happen when it get's to a certain point. </p>
  
  <p>So pretty much is there a way to find out that $(window).scrollTop() total is 300px before hand? If the browser height is changed/resized then the $(window).scrollTop() will change, so I I'll need to find out what the new $(window).scrollTop() total is once the browser is resized.</p>
  
  <p>Thanks.  </p>