Streaming live at 10am (PST)

Add a class to a Nav link when the slide changes?


#1

Hi guys,

I have a page with a standard slider and a nav bar. What I want to do sounds pretty basic but I couldn't get it work with interactions so I need a but of help with some javascript I think.

When the slider changes to the next slide, I need to set the class of the next nav link to 'active'. In other words, making the slider interact with another div.

I've had a quick look in the webflow.js file and seen 'data.right.off' ...maybe this is something to do with it? Any help would be greatly appreciated!

Here's the demo link for you to see: https://preview.webflow.com/preview/slider-nav-test?preview=c9822b71043f8845b9acadf9d2f96d40

Many thanks in advance for any help :wink:

Sean.


#2

Any one have any ideas for this please? I'm a bit stuck .... :frowning:


#3