jQuery.fracs, an impressive jQuery plugin, lets us detect the part of an HTML element that is currently in the viewport, the fraction it takes of the complete viewport and the rest that may be visible.Also, it can get the coordinates of the visible rectangle in document, element and viewport space.
Plugins Web