title: Javascript if scroll position > 100
body: <p>How can I test it if it's greater than 100. For example how can I get an alert. </p>
  
  <p>Here is my code that doesn't work, I don't know why.</p>
  
  <pre><code>var ScrollTop = $("body").scrollTop();
  
  if (ScrollTop &gt; 100){
      alert("Scroll is greater than 100");
      //document.getElementById('back-to-top').fadeOut;
  }
  </code></pre>