Skip to content

Conversation

@chasetec
Copy link

@chasetec chasetec commented Aug 9, 2013

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});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant