22 January 2008 Viewport ads couple of extra selectors to jQuery. With these selectors you can check whether element is inside or outside of viewport. To see how it works check the demo. How to use? Viewport selectors depend on jQuery and dimensions (dimensions is now in jQuery core). Include them in your header: <script src="jquery.js" type="text/javascript"></script> <script src="jquery.dimensio