teamdf/jquery-visible — pull request #7 by chasetec (2013-08-09 02:14:52+00:00)
Title: Support padding along the top that is not viewable

My site has a fixed menu header and footer that obscures content. If the element in question is hidden by the header or footer then it should not be considered visible.

var topPadding = $("body header").height();
var isVisible = jqElem.visible(true, false, {top: topPadding});