jQuery.isInView is a jQuery plugin that tells you if elements are in view inside a scrollable container, or inside a container hiding its overflow – and does it blazingly fast, made for hot code paths.
Website Demo