JCarousel does not activate the Next button

0

I have a carousel that is created dynamically with data coming from the database. But when creating dynamically it does not appear to activate Next. How can I solve this? Here are the codes:



JQUERY:

$('.jcarousel-imagem-produto').jcarousel({vertical:true});$('.jcarousel-control-prev-imagem-produto').on('jcarouselcontrol:active',function(){$(this).removeClass('inactive');}).on('jcarouselcontrol:inactive',function(){$(this).addClass('inactive');}).jcarouselControl({target:'-=1'});$('.jcarousel-control-next-imagem-produto').on('jcarouselcontrol:active',function(){$(this).removeClass('inactive');}).on('jcarouselcontrol:inactive',function(){$(this).addClass('inactive');}).jcarouselControl({target:'+=1'});

HEREISWHERETHEPICTUREAPPEARS:

    
asked by anonymous 09.08.2017 / 15:52

0 answers