Navbar interact with slider

Im trying to replicate my website in webflow,.
how i can make a navbar that interacts with the slider?
customslider

If you know JavaScript then Here is starter code, you can modified it according to your need.

$(document).ready(function () { let slides =$(".w-slide"); $.each(slides, function (key, value) { let current_slide = $(value); var attr = current_slide.attr('aria-hidden'); if (attr!=="true") { var id = current_slide.attr('id'); if (id=='link1'){ $('.link_1').addClass('active'); } else if (id=='link2'){ $('.link_2').addClass('active'); } } }); }); .active{ color:#FF6262; transform:translateY(-10px); }

https://preview.webflow.com/preview/vimeo-video-lazy-load?utm_medium=preview_link&utm_source=designer&utm_content=vimeo-video-lazy-load&preview=3c236fe46baa3e9a87a8e0108b39c6d4&mode=preview
here is ready only link.