code-standards icon indicating copy to clipboard operation
code-standards copied to clipboard

Track the menu location against the scroll

Open rcherny opened this issue 10 years ago • 2 comments

Sort of like a scroll spy thing, but the content is long enough it's pretty easy to get "lost" in the section you're in. It would be nice if even, section by section, there was a TOC available as you scrolled. Not sure how that would work vs. mobile overlay, but ... TBD

This is for post-launch anyways.

rcherny avatar Aug 21 '15 19:08 rcherny

Was thinking something along these lines, but for each section, perhaps.

http://davist11.github.io/jQuery-Stickem/

TBD how that might work for mobile ... (probably not at all)

rcherny avatar Aug 26 '15 15:08 rcherny

This is a profoundly early proof of concept, but shows the gist of something like what I had in mind.

http://codepen.io/rcherny/pen/YyzeqB

Needs work, I know.

rcherny avatar Sep 01 '15 17:09 rcherny