I posted this question yesterday and the answer I go mentioned that I should check if scrollTop is higher than your header height. My question is how do I do this with query. How do I do this when different people have different screen sizes
Share
$('selector').height ()will return the height of the first element to match the selector in pixels. It’s all in the manual.http://api.jquery.com/height/