Viewing 2 reply threads
You must be logged in to reply to this topic.
I need the testimonial carousel to go back to slide 1 when it reached the end of carousel.
How can I make this possible?
Hello,
I have done this by editing the file codeless-main.js and editing this function :
CL_FRONT.testimonialCarousel = CL_FRONT.init_cl_testimonial = function(){
"use strict";
$('#testimonial-entries').each(function(){
CL_FRONT.components.Carousel( $( this ), {
items: CL_FRONT.helpers.parseData( $( this ).attr( 'data-carousel-items' ), 1 ),
animateIn: 'alpha-in',
animateOut: 'fadeOut',
autoplay:true,
});
});
}
added only “autoplay:true,”.
Now is ok in the next update this will be an option to the element.
Regards!
Hello Ruco,
I added the line you suggested, but it appears that I also need to add “loop: true” to make it infinite loop, 1 – 2 – 3 – 1 – 2 – 3.
You can close this ticket.
Thank you very much for your support.
You must be logged in to reply to this topic.