This jQuery plugin adds the scrollin and scrollout events to jquery: these events will fire when any given element becomes visible/invisible in the browser viewport, allowing you to:
- automatically or programmatically show/hide any HTML content as soon as it comes inside or outside the browser viewport (i.e. when the user scrolls to them).
- prevent unnecessary processing for content that is hidden or is outside of the browser viewport.
- trigger a custom function or behaviour (such as loading external AJAX content) when a certain point of the page is reached.
More info and download: