Skip to content

Comment on Slinky.js – scrolling navigation lists with stacking headers.

Comments

Nice. One thing I'd add to improve the usability a little - make it so users can scroll to a 'segment' by clicking on the header.

I thought of it too. A simple solution would be to just add ids to sections and make the headers links that target them. While this scrolls the section into position, the top part becomes obstructed by the stacked headers.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.