Par
H.Alan Scott
Hôte du podcast Parting Shot à Newsweek
“);jQuery(this).remove()}) jQuery(‘.start-slider’).owlCarousel({loop:!1,margin:10,nav:!0,items:1}).on(‘changed .owl.carousel’,function(event){var currentItem=event.item.index;var totalItems=event.item.count;if(currentItem===0){jQuery(‘.owl-prev’).addClass( ‘disabled’)}else{jQuery(‘.owl-prev’).removeClass(‘disabled’)} if(currentItem===totalItems-1){jQuery(‘.owl-next’).addClass(‘disabled’ )}else{jQuery(‘.owl-next’).removeClass(‘disabled’)}})}})})