This version is old school.
Please find jQuery plugins on npm.
onImpression
by Jason Ramsey
jQuery plugin to trigger a function when an element is displayed on screen.
Versions
Version
Date
1.0.0
Jul 28, 2014