A jQuery plugin to check if an element is visible in a container or the browser's viewport