Welcome to the Treehouse Community
Looking to learn something new?
Need help on personal site - footer to push up fixed element
I'm in the process of designing my personal site and I ideally want the left fixed column to remain in place unless the footer hits it, then I want it to scroll up as normal.
Demo - Here
Michael Alaev5,415 Points
I think you should create a function that listens to the scroll event and when you footer is in the view port that function should be triggered.
You can do it easy with jQuery. Link: http://stackoverflow.com/questions/2627219/jquery-how-can-i-check-if-a-block-in-my-document-is-inside-the-viewport-or-outs
Hope that helps, Mike.