A method for getting the number of pixles of an element that is visible inside the browser.
Pass an Element to the method to get the number of pixels visible.
elementPixelsVisible(document.getElementById('#foo'));
This project is based on bv-ui-pixels-displayed with added support for IE8.
MIT