jQuery.pin
Languages and libraries
jquery plugin
SHOW HN2013
How HN took it
0 positive, 3 neutral or asking, 3 mixed, 4 critical, out of 10 comments about the project. Thread score -0.33.
Execution: 0 for, 2 againstPerformance: 0 for, 1 againstIdea: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Well-done plugin and good code
From 2 comments
For anyone wondering "why do we need jQuery plugins for simple things like this?", you may be interested in position: sticky. Here's an article:…
kevincennis on HNCould do with some smoothing and polishing. Jerks all over the place. Also, what is with this new fashion of declaring functions as anonymous methods? ``` var recalculateLimits =…
mattmanser on HN
Objections
Scroll handler may hurt performance; throttling suggested
From 1 comment
As a best-practices criticism, this is using a direct window scroll handler, which can be a bit of a performance nightmare. It's often better to use some sort of throttling to…
kemayo on HN
Does not work when sticky block is taller than window
From 1 comment
This and all other solutions on this page doesn't work, when sticky block height is more than window height. Always showed the top of the block, but it should be scrolled to the…
dmitrypolushkin on HN
Did not work on IE10 until fixed
From 2 comments
Doesn't work on IE10
opayen on HNPushed a fix - should work in IE10 as well now.
bobfunk on HN
Jerky scrolling with mouse scroll button
From 1 comment
Could do with some smoothing and polishing. Jerks all over the place. Also, what is with this new fashion of declaring functions as anonymous methods? ``` var recalculateLimits =…
mattmanser on HN
Requests
Working mobile browser support
From 1 comment
Is there something like this that works properly in the mobile browser?
websirnik on HN
Questions
How does it compare to Bootstrap affix?
From 1 comment
How does this compare to say Bootstrap's affix plugin? I see that it supports a min-width property, but personally I'd rather deal with this myself via media queries (matchMedia…
WickyNilliams on HN
Alternatives named
Bootstrap affix
From 2 comments
This is good but there are some more mature solutions out there, bootstrap has a very basic 'affix' plugin built in. However I have found the waypoints plugin to be absolutely…
smickie on HNHow does this compare to say Bootstrap's affix plugin? I see that it supports a min-width property, but personally I'd rather deal with this myself via media queries (matchMedia…
WickyNilliams on HN
Waypoints
From 1 comment
This is good but there are some more mature solutions out there, bootstrap has a very basic 'affix' plugin built in. However I have found the waypoints plugin to be absolutely…
smickie on HN
ScrollToFixed
From 2 comments
another similar plugin: https://github.com/bigspotteddog/ScrollToFixed
dagi3d on HNI have had reports that https://github.com/bigspotteddog/ScrollToFixed runs on mobile. Here are the confirmed combos: - iPad 4 running iOS 6.0 (10A403) with…
bink-lynch on HN
sticky-panel
From 1 comment
I built something like this about a year ago called sticky-panel. https://code.google.com/p/sticky-panel/ Mine only has a couple added features like before and after detach…
DonnyV on HN
jquery-floating-widget
From 1 comment
every time this kind of plugin comes up, i link to this one from years ago https://github.com/terkel/jquery-floating-widget
leeoniya on HN
CSS position: sticky
From 1 comment
For anyone wondering "why do we need jQuery plugins for simple things like this?", you may be interested in position: sticky. Here's an article:…
kevincennis on HN