Page 1 of 2

Carousel change frames automatically

Posted: Fri Nov 22, 2013 2:26 pm
by Stavros Kinalopoulos

Any ideas to make the frames of Carousel changing automatically?
If requires javascript code to do this then i would appreciate to paste it here.
Thanks.Kudos!!


Carousel change frames automatically

Posted: Fri Nov 22, 2013 3:03 pm
by Maryna Brodina

Hello! Please try this way: prevar interval = 2000; // == 2 seconds
function moveCarousel() {
if ($("[dsid=mobilecarouselName]", $.mobile.activePage ).length) {
Appery( "mobilecarouselName" ).carouselRoot.carousel("next");
setTimeout(moveCarousel, interval);
}
}
setTimeout(moveCarousel, interval);/pre


Carousel change frames automatically

Posted: Fri Nov 22, 2013 3:16 pm
by Stavros Kinalopoulos

Thanks for the quick reply!!Users and clients appreciate this!!
The code is working for me.
Just a tip for everybody else.In the events click the event "Goto"
Thanks.Kudos!


Carousel change frames automatically

Posted: Mon Feb 24, 2014 9:23 pm
by Josiel Denardi6690187

Where put this code? Page Load?


Carousel change frames automatically

Posted: Tue Feb 25, 2014 3:55 am
by Igor

Yes, you can put this code in the page load javascript event handler.


Carousel change frames automatically

Posted: Tue Feb 25, 2014 10:35 am
by Josiel Denardi6690187

Thank you, its run.


Carousel change frames automatically

Posted: Thu May 01, 2014 3:54 am
by John6122514

This code is working in the browser but not on the Iphone it goes to the next image then stops.

I have 7 images pulled from Appery DB.
I am using the iPhone 5c for testing.


Carousel change frames automatically

Posted: Thu May 01, 2014 4:40 am
by Yurii Orishchuk

Hi John.

We have tested it code and it's ok.

Please give us your app public link. And describe steps to reproduce your problem.

Regards.


Carousel change frames automatically

Posted: Mon May 05, 2014 10:19 am
by Evgene Karachevtsev

Hello,

Our developer has just tested your app on IPhone 5 with IOS 6.0.1. The carousel is working fine. Do you still have this problem?


Carousel change frames automatically

Posted: Mon May 05, 2014 1:54 pm
by John6122514

Yes, I still have the problem. I am using IOS 7.0.