title: Fire JavaScript Event When a DIV is in View
body: <p>Is it possible to fire a specific JavaScript event when a certain DIV comes into view on the page?</p>
  <p>Say, for example, I have a very large page, like 2500x2500 and I have a 40x40 div that sits at position 1980x1250.  The div is not necessarily manually positioned, it could be there due to the content pushing it there. Now, is it possible to run a function when the user scrolls to a point where the div becomes visible?</p>