Is it possible to have an anchor menu with 10 items, and have it scroll to that point then stop scrolling at that point and have another one start?
Because I’m using it for this page and I thought it would make navigation simpler https://jeffreygillespie18.editorx.io/fpfo/blank
I can’t think of a way to modify the default anchor menus offered by Wix in the Add Pannel (+) to achieve what you’re describing you look for; however, I can think of (at least) two similar ways to make your own:
-
Set your anchors. Unfortunately with this method I imagine, each set of 10 items will have to be within a single section, so it won’t properly work if you anchor your sections; you’ll have to use container boxes, stacks or other items instead as anchors, making sure all the ones you want to appear in your new “anchor menu” are contained in the same section.
-
Add (and then style) either…
-
A paragraph, and write your list for the first 10 items
-
Text buttons for the first 10 items and stack them
-
Attach the list or stack –depending on what you chose– to the same section of your anchor items and set it to a sticky position (in the Inspector Pannel) at your desired rate of pixels or vh units. This will be your (faux) “anchor menu”.
-
Link to a different anchor…
-
each line within the paragraph you wrote by selecting it
-
each text button of the stack
-
Repeat the process for the next set of anchors.
A few things to consider:
-
Sticky elements –unlike fixed ones– stay vertically still only while their parent container is visible in the viewport, hence they get away with the scroll once their parent’s bottom – That’s the reason why you have to attach your anchors into the same section. This way, once the viewer surpasses your last anchor of the first set, your “anchor menu” will leave its seat to the next one just like you described.
-
The advantage of using buttons insead of text is the ability to use Hover effects, which I consider more attractive and interactive.
-
If you, however, choose to use text lists in paragraphs –because it might be easier/quicker– I warn you that the linking automatically underlines the linked texts and paints them blue; although, you can change the text format after this happens while keeping the links (by selecting the texts and re-styling them; avoid using the Undo action or you’ll lose the link).