Carousel change frames automatically
I upgraded to iOS 7.1.1 and it is working now.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
I upgraded to iOS 7.1.1 and it is working now.
Hi John,
Thank you for the update. Glad it's working!
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.
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
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
Thank you for the update. Do not hesitate to contact us if you need any further help.
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
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.
Thank you Evgene for your help! I've got it working now!
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
that helped me ! thks