5
In the case in question would be a sidebar, which from a certain height of scrolling from the top, receives position:Fixed, but as the scroll continues it is hidden behind the footer of the site. How could I determine that this sidebar from a certain distance from the footer stops? (the footer has about 490px).
div.offset().top * 2
? In fact, why double the offset?– bfavaretto
Corrected, actually the sum is with the . height()!
– Kenny Rafael