I wrote something similar, but with the added capability of having elements stack against each other as well: https://github.com/matb33/jquery-vertical-stack
Show HN: Stalker, a jQuery Plugin That Follows Users on a Page
21–24 of 24 posts
Re: Show HN: Stalker, a jQuery Plugin That Follows Users on a Page
#22this is essentially built into css now, with position: sticky http://updates.html5rocks.com/2012/08/Stick-your-landings-po...
My browser (chrome) doesn't support position: sticky so I guess the solution proposed is a lot better for compatibility.
oh for sure, and great job at it. I was just pointing out that this was more of a polyfill than a long term solution.
Re: Show HN: Stalker, a jQuery Plugin That Follows Users on a Page
#23I wrote something similar, but with the added capability of having elements stack against each other as well: https://github.com/matb33/jquery-vertical-stack
Nice! The stacking capability is definitely something I'd thought about adding in a future version.
Re: Show HN: Stalker, a jQuery Plugin That Follows Users on a Page
#24Nice. We did this with a nice little call to action button that "snaps" to the header as you scroll past: http://blog.tweaky.com/how-to-make-a-sticky-button/
I like the idea. I'd like to do something like that but with responsive design? Any ideas?