Page 2 of 2

Carousel change frames automatically

Posted: Mon May 05, 2014 3:08 pm
by John6122514

I upgraded to iOS 7.1.1 and it is working now.


Carousel change frames automatically

Posted: Mon May 05, 2014 4:49 pm
by Kateryna Grynko

Hi John,

Thank you for the update. Glad it's working!


Carousel change frames automatically

Posted: Wed May 07, 2014 11:58 pm
by Alex GG

Hi!
Im using this code to make 2 banner images slide automatically on the header, instead of creating a gif image.

the code posted above works partially for me...

Is because the second image pushes the firts to the left, then after 2 seconds the firts image pushes the image to the rignt...and cycle repeats. This doesnt look nice.

  1. How can I do to set the images always moving to the right direction?
    2, Is it posible to add a fade effect between the images?

    Regards


Carousel change frames automatically

Posted: Thu May 08, 2014 3:00 am
by Alex GG

Hi!
I using the above code to make the same, not with carousel, but with two images from database.

Those two images are saved to local storage, and I want to change them automatically every two seconds. I modified the code, but cant make it works:

code
var interval = 2000; // == 2 seconds
function movebanner() {
if ($("[dsid=mobileimage_6]", $.mobile.activePage ).length) {
Appery( "mobileimage_6" ).attr('src', localStorage.getItem('foto_banner'));
setTimeout(movebanner, interval);
}
Appery( "mobileimage_6" ).attr('src', localStorage.getItem('foto_banner2'));
}

setTimeout(movebanner, interval);

code

Am I doing something wrong?/code/code


Carousel change frames automatically

Posted: Thu May 08, 2014 8:43 am
by Evgene Karachevtsev

Thank you for the update. Do not hesitate to contact us if you need any further help.


Carousel change frames automatically

Posted: Fri Jun 12, 2015 5:06 am
by reidsantabarbara .

Where exactly should this code go? I have tried as an event on page load as well as in the javascript //On Load. Neither of these locations have worked


Carousel change frames automatically

Posted: Fri Jun 12, 2015 4:45 pm
by Evgene Karachevtsev

Hello reidsantabarbara,

I just tried this code - it works as expected. I call it on page load event. Also please note that in this code codemobilecarouselName/code is the name of carousel component.


Carousel change frames automatically

Posted: Fri Jun 12, 2015 4:48 pm
by reidsantabarbara .

Thank you Evgene for your help! I've got it working now!


Carousel change frames automatically

Posted: Wed Aug 05, 2015 9:40 am
by SteamyDave

I'm very new to appery.io and am in ore of the system. It's taking a bit of time to get used to the system and used to javascript, but it is SO cool!

My carousel doesn't move! I tried pasting the javascript into the Load function - no movement on the test or the android phone.
I created a custom javascript and called the function from the Load but still no action.

Where am I going wrong?!

Thanks,

David


Carousel change frames automatically

Posted: Fri Nov 27, 2015 6:52 am
by EJLD

that helped me ! thks