Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

What to do to get carousel to rotate images automatically

Hello reidsantabarbara,

Sorry, I'm not sure I understand you correctly, could you please clarify your question and please specify have you tried Alena's approach?

reidsantabarbara .
Posts: 0
Joined: Sat Jun 06, 2015 9:07 pm

What to do to get carousel to rotate images automatically

I got this working with Alena's approach, thank you for your quick response!

Rankin Morgan
Posts: 0
Joined: Thu Jul 30, 2015 10:33 am

What to do to get carousel to rotate images automatically

Which code did you use?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

What to do to get carousel to rotate images automatically

Hello!

This is the code from the comment above preAppery(...).carouselRoot.carousel('next');/pre

Rankin Morgan
Posts: 0
Joined: Thu Jul 30, 2015 10:33 am

What to do to get carousel to rotate images automatically

Evgene...I'm a novice at this. Where do I place this code?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

What to do to get carousel to rotate images automatically

Rankin,

Please try this code on page show event.

Danny Ruiz
Posts: 0
Joined: Tue Oct 13, 2015 4:04 pm

What to do to get carousel to rotate images automatically

Hello,

Can anyone help me with this code..I have two HTML and one Image in my carousel...can't find any information regarding this code. My carousel is named mobilecarousel_33

Danny Ruiz
Posts: 0
Joined: Tue Oct 13, 2015 4:04 pm

What to do to get carousel to rotate images automatically

Can anyone help me with this code..I have two HTML and one Image in my carousel...can't find any information regarding this code. My carousel is named mobilecarousel_33

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

What to do to get carousel to rotate images automatically

Hi Danny,

If you want to automatically change slides you can use following solution:

1 Open page where you have this carousel component.

2 Add "Page show" event handler.

3 Populate this handler with following JS code:

pre

var onDelay = function(){
//where "mobilecarousel_353" is your carousel component name.
Apperyio('mobilecarousel_353').carouselRoot.carousel("next")

};

window.clearInterval(self.carouselTimer);
self.carouselTimer = window.setInterval(onDelay, 3000);

/pre

Regards.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

What to do to get carousel to rotate images automatically

Works perfect Yurri. Thank you

Return to “Issues”