News for hackers. Stuff that matters.
Re:Show HN: Stalker, a jQuery Plugin That Follows Users on a... by cleverjake on Wednesday November 07, 2012 @01:34AM (#4752481)
this is essentially built into css now, with position: sticky

http://updates.html5rocks.com/2012/08/Stick-your-landings-po...

Re:Show HN: Stalker, a jQuery Plugin That Follows Users on a... by pestaa on Wednesday November 07, 2012 @04:27AM (#4752811)
Actually I believe it is position: fixed.
Re:Show HN: Stalker, a jQuery Plugin That Follows Users on a... by michalstanko on Wednesday November 07, 2012 @05:02AM (#4752871)
From the article linked above:

"position: sticky is a new way to position elements and is conceptually similar to position: fixed. The difference is that an element with position: sticky behaves like position: relative within its parent, until a given offset threshold is met in the viewport."

Re:Show HN: Stalker, a jQuery Plugin That Follows Users on a... by rxooo on Wednesday November 07, 2012 @02:45AM (#4752628)
My browser (chrome) doesn't support position: sticky so I guess the solution proposed is a lot better for compatibility.
Re:Show HN: Stalker, a jQuery Plugin That Follows Users on a... by cleverjake on Wednesday November 07, 2012 @09:10AM (#4753411)
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.