title: ".scrollBottom()" does not work
body: <p>I have very little experience with jQuery, can someone one explain me what is wrong with the following code?</p>
  
  <pre><code>var scrollBottom = $(window).scrollTop() + $(window).height();
  
  $(window).scroll(function(){
        if($(this).scrollTop() &gt; 400) {
          $('.button').css({'display': 'none'});
         } else if ($(this).scrollBottom() &gt; 200) {
          $('.button').css({'display': 'block'});
        }
      });
  </code></pre>
  
  <p>The first part of the code, where I want button to disappear - works, but not the second part of the function.</p>