Progress Nav with IntersectionObserver

In Table of Contents with IntersectionObserver on CSS-Tricks, Chris Coyier talks about sticky table of contents on long pages whose active state updates as you scroll. When talking about those, you can not not mention the wonderful Progress Nav by Hakim El Hattab. Final version of the progress nav! Switched to SVG and made it …


This content originally appeared on Bram.us and was authored by Bramus!

In Table of Contents with IntersectionObserver on CSS-Tricks, Chris Coyier talks about sticky table of contents on long pages whose active state updates as you scroll. When talking about those, you can not not mention the wonderful Progress Nav by Hakim El Hattab.

~

As Hakim’s demo from 2017 (!!) does not use IntersectionObserver — which was in it’s very early stages back then — Chris hinted that someone should make a version that uses it. Anders Grimsrud took up the challenge, and built it:


See the Pen
Hakim’s Progress Nav Concept using the Intersection Observer API
by Anders Grimsrud (@agrimsrud)
on CodePen.

Cool! ?

? Be sure to check Hakim’s “Building Better Interfaces” talk, which is full of inspiration to make your interfaces more delightful. Recommended stuff!

? I was very happy to see Chris including my 2020 Smooth Scrolling Sticky ScrollSpy Navigation in his post too.


This content originally appeared on Bram.us and was authored by Bramus!


Print Share Comment Cite Upload Translate Updates
APA

Bramus! | Sciencx (2021-03-20T00:01:41+00:00) Progress Nav with IntersectionObserver. Retrieved from https://www.scien.cx/2021/03/20/progress-nav-with-intersectionobserver/

MLA
" » Progress Nav with IntersectionObserver." Bramus! | Sciencx - Saturday March 20, 2021, https://www.scien.cx/2021/03/20/progress-nav-with-intersectionobserver/
HARVARD
Bramus! | Sciencx Saturday March 20, 2021 » Progress Nav with IntersectionObserver., viewed ,<https://www.scien.cx/2021/03/20/progress-nav-with-intersectionobserver/>
VANCOUVER
Bramus! | Sciencx - » Progress Nav with IntersectionObserver. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/03/20/progress-nav-with-intersectionobserver/
CHICAGO
" » Progress Nav with IntersectionObserver." Bramus! | Sciencx - Accessed . https://www.scien.cx/2021/03/20/progress-nav-with-intersectionobserver/
IEEE
" » Progress Nav with IntersectionObserver." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2021/03/20/progress-nav-with-intersectionobserver/. [Accessed: ]
rf:citation
» Progress Nav with IntersectionObserver | Bramus! | Sciencx | https://www.scien.cx/2021/03/20/progress-nav-with-intersectionobserver/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.