jQuery.fracs is a jQuert plugin that determines some fractions for an HTML element (visible fraction, fraction of the viewport, etc.) and also provides the coordinates of these areas.
Website Demo