title: How do I get document height using vh units in jQuery?
body: <pre><code>$(window).scroll(function() {
     $scrollingDiv.css("display", (($(window).scrollTop() / $(document).height()) &gt; 0.1) ? "block" : "");
  });
  </code></pre>
  
  <p>How can I change the unit <code>$(document).height()) &gt; 0.1)</code> to 100vh? I don't have much jQuery experience.</p>