title: As in swiper slide, make an active link only for the active slide?
body: <p>Friends, please tell me how to make the link active, only in the active slide? And in about everyone else, hide her.</p>
  
  <p><a href="https://codepen.io/Cheizer/pen/OJLWREZ" rel="nofollow noreferrer">https://codepen.io/Cheizer/pen/OJLWREZ</a></p>
  
  <pre><code>var s6 = new Swiper('.swiper-container', {
         spaceBetween: 10,
          slidesPerView: 'auto',
          slideToClickedSlide: true,
          navigation: {
          nextEl: '.swiper-button-next',
          prevEl: '.swiper-button-prev',
        },
        pagination: {
      el: '.swiper-pagination',
      type: 'bullets',
           clickable: true,
    }, 
  });
  
  var el = $('.swiper-container .swiper-slide');
  
   $(el).each(function(i,el) {
  
  if($(this).activeIndex){
  
  $('a').show();
  
  }else{
  
  $('a').hide();
  
  }
  
   });
  </code></pre>
  
  <p>Doing so doesn't work :(</p>