jQuery Infinite Scroll help
<pre><code>$( "body").scroll( function() {
   $( "#myDiv").load( "test.html");
});
</code></pre>

<p>With this syntax we can load content into a <code>div</code> when the user scrolls. But before inserting into the div I want to make sure that div is in the viewport area when the user scrolls down.</p>

<p>If yes then I would like to load external content into that <code>div</code>. Please help me to achieve my goal.
Thanks</p>
