using 3rd party plugin (same concept as calculating the offset)
https://github.com/teamdf/jquery-visible
concept:
http://www.jquery4u.com/dom-modification/jquery-check-element-view/
using 3rd party plugin (same concept as calculating the offset)
https://github.com/teamdf/jquery-visible
concept:
http://www.jquery4u.com/dom-modification/jquery-check-element-view/