I’d like to have a floating Table of Contents that is:
- Dynamically generated
- Scrolls smoothly to location when clicked
- Highlights ToC item when the scroll reaches that location.
For example, something like this code:
Here’s a demo of it in action:
How might I go about making (something like) this work with or without a plugin? Appreciate anyone pointing me in the right direction here.
I’m not a JS, CSS, or a plugin guru. But I understand code and am technically inclined. I guess I’m trying to understand what exactly I’d have to do to make this work, or if I’m in over my skis?
Yes, I know about this. Still just trying to get my bearings. Appreciate any help!