Page 1 of 2
how to add left and right arrows in the carousel
Posted: Wed Nov 27, 2013 8:42 am
by vipul
HI,
I am having a carousel and in that i want to add left and right arrow keys on which when i click i will be able to navigate from one frame to another.
in the JS i am able to see the div section for left and right arrow
but i m not able to see any arrow.
Pls help!!
how to add left and right arrows in the carousel
Posted: Wed Nov 27, 2013 9:32 am
by Kateryna Grynko
Hi,
Appery.io Carousel component doesn't have arrows. It should be swiped. You could implement your own component.
how to add left and right arrows in the carousel
Posted: Wed Nov 27, 2013 12:27 pm
by Kateryna Grynko
Sorry, misinformation. You can add the following code to do this:preAppery("mobilecarousel").carouselRoot.carousel("previous");
Appery("mobilecarousel").carouselRoot.carousel("next");/preWhere 'mobilecarousel' is a carousel component name.
how to add left and right arrows in the carousel
Posted: Wed Nov 27, 2013 1:29 pm
by vipul
This i have to do at page load?
how to add left and right arrows in the carousel
Posted: Wed Nov 27, 2013 2:05 pm
by Kateryna Grynko
how to add left and right arrows in the carousel
Posted: Wed Nov 27, 2013 5:24 pm
by vipul
Hi Katya,
I write this code on page load but i m getting this error
Uncaught Error: cannot call methods on carousel prior to initialization; attempted to call method 'previous'
even i tried it on carousel click still i m getting this exception
how to add left and right arrows in the carousel
Posted: Sat May 10, 2014 7:29 am
by Johnny6773854
not working. keep on loading on screen...
how to add left and right arrows in the carousel
Posted: Sat May 10, 2014 3:11 pm
by Alex GG
Hi, I also tried to implement this arrows, and got this error in console, thats why it keeps loading...
Regards
how to add left and right arrows in the carousel
Posted: Sat May 10, 2014 3:21 pm
by Evgene Karachevtsev
Hello Johnny,
Could you please specify what kind of error do you have? Best of all will be the steps to reproduce it and screenshot with error.
how to add left and right arrows in the carousel
Posted: Sat May 10, 2014 3:27 pm
by Alex GG
the error code is the one I posted above.
I also tried this with no luck:
code
var carousel = Appery("mobilecarousel_11");
carousel.carouselRoot.carousel("previous");
carousel.carouselRoot.carousel("next");
code
Any idea on how to solve this?
Regards/code/code