I have a split screen design for my web app. On the left we have a summary of each playbook. On the right we have all the playbooks displayed by order and user can scroll through all the playbooks.
How do I set it such that as I scroll to the second / third / fourth playbook etc, something is triggered so I can change the corresponding label in the left summary sidebar for that playbook, so the user knows which playbook he is viewing now?
Hello, I think you’d need to listen to scroll on each heading/section and highlight them based on each’s distance from the top of the scrollable containers. This usually is done in batch with JavaScript’s Intersection Observer API - Web APIs | MDN
Yes! The contents are dynamically generated. It is basically fetching the playbooks from Xano, which is dynamic… (in the example above there was 2 but there could be more)