Hello,
I’m working on a feature for a website that creates a bar on the left side of a single post page that contains social share buttons. The bar follows the reader down the page as they scroll. It’s similar to the one found on Mashable.com.
However, the bar will keep scrolling down the page into the footer area of the site, but I’d like for it to stop when it reaches the end of the container div (the main page content between header and footer).
I’m guessing JavaScript is involved that works on changing the “position:fixed” to “position:absolute” but I’m not sure what the exact code is.
Does anyone have thoughts/can help me out? Thanks!
Brian.