Slick slider - Adding active class to first < a > in currently open foundation tab
问题 Trying to add an active class to the first a tag within a selected tab. My code is adding the active class to the very first element in slide one and doing exactly what I want within slider one but then when I change tabs it is still adding the active class to the navigation on the first slider not slider 2 that is in view. JS $(document).ready(function(){ var $slideshow = $(".slider").slick({ dots: false, infinite: true, speed: 300, slidesToShow: 1, adaptiveHeight: true, swipeToSlide: true,