Closed mantia11 closed 9 years ago
Hi! I looked all over the internet and don't find the answer why this piece of code doesn't work in my global.js for dynamic carousel:
$('.carousel-wrapper') .on('jcarouselcontrol:active', '.jcarousel-control-prev', function () { $(this).removeClass('inactive'); }) .on('jcarouselcontrol:inactive', '.jcarousel-control-prev', function () { $(this).addClass('inactive'); }); $('.carousel-wrapper') .on('jcarouselcontrol:active', '.jcarousel-control-next', function () { $(this).removeClass('inactive'); }) .on('jcarouselcontrol:inactive', '.jcarousel-control-next', function () { $(this).addClass('inactive'); });
I'll be very appreciate for answer.
Can you please setup a reproducible test case where i can see your complete setup?
Hi! I looked all over the internet and don't find the answer why this piece of code doesn't work in my global.js for dynamic carousel:
I'll be very appreciate for answer.