title: Reload the page just once if a div is above certain position
body: <p>I want to reload the page only once if a given div is positioned higher than <code>position:absolute; top:15%</code>.</p>
  
  <p>I think this could be done with jQuery's .css method, something like: </p>
  
  <pre><code>if ('#mydive').css('top') &gt; '15%' {
      //reload the page
  }
  </code></pre>
  
  <p>Could someone suggest a simple solution, preferably jQuery or pure JavaScript?</p>