I'm a little bit stuck
doing a new site for my wife's new venture.
here is the sticker
I have a single page scrolling, with a fixed left-hand container, that holds a little bit of info & the menu links.
The links are smooth scroll triggers for the containers down the page (fixed height so no manual scrolling)
In other words, click the menu item & the container scrolls into view (this is the right-hand container.) it works beautifully., however, in the ideal world what I would like to happen is for the menu link to change somehow (colour underlined whatever) when the container that is anchored to the trigger scrolls into view.
So
for example the menu link for "Where We Are At" triggers the container with the ID "where-we-are-at"
Once that container has scrolled into view, The menu-Link changes a bit like being "Active" when on different pages.
The problem I can't get to solve is how to do that, because if it was a different page then no worries, but because it's on the same page I can't get it.
I figure it may need some fancy JS work, (which is a bit beyond me, I have already searched Google, but not found anything that could be used) something that maybe adds a class to the menu-link when the container with its trigger ID is in full view, & then takes it off when it isn't.
Anyone of you JS Guru's out there think it's possible?
Have a great day wherever you are in the world.
Wayan in windy Bali
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?
LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://mawarputih.coffeecup.com/forms/contact-wayan/
A simple quick way to contact me
https://rsd-tutorialscom.coffeecup.com/ … l-details/