Scroll to dynamic scroll point

I don’t know how to add dynamic links/scroll points to a top menu.

Situation:
I have a menu, populated by a repeating group

I have a repeating group that creates sections on a page.

So here are 2 scenarios (there are many scenarios, based on the data)

menu:
rg item 1, reg item 2, re item 3

page

rgA - repeats the sections
rgB - repeats the sub sections that contain the content

so lesson 1 might have only a ‘dog’ and ‘cat’ section (rgA) with many types of content (vids, images) in rgB

so

menu - dog, cat
page
dog
cat

Next lesson has 3x rg items and they are in a different order

menu - cat, dog, bird
page
cat
dog
bird

The order and quantity of items doesn’t matter for the process. The problem is I want to dynamically scroll the rg ‘item’ that matches the ‘item’ in the menu

It’s a client project so can’t link to the proj at this point

2 Likes

Bump. I’m looking for this very solution. How do set up a Table of Content that’s clickable and clicking an item in the TOC scrolls to section when the sections are ever-changing?

Use Case: Blog article with sections