vipul
Posts: 0
Joined: Wed Jul 31, 2013 8:59 am

how to add left and right arrows in the carousel

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!!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

how to add left and right arrows in the carousel

Hi,

Appery.io Carousel component doesn't have arrows. It should be swiped. You could implement your own component.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

how to add left and right arrows in the carousel

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.

vipul
Posts: 0
Joined: Wed Jul 31, 2013 8:59 am

how to add left and right arrows in the carousel

This i have to do at page load?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

how to add left and right arrows in the carousel

Yes, you can try this.

vipul
Posts: 0
Joined: Wed Jul 31, 2013 8:59 am

how to add left and right arrows in the carousel

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

Johnny6773854
Posts: 0
Joined: Mon Mar 31, 2014 7:11 am

how to add left and right arrows in the carousel

not working. keep on loading on screen...

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

how to add left and right arrows in the carousel

Hi, I also tried to implement this arrows, and got this error in console, thats why it keeps loading...

Image

Regards

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

how to add left and right arrows in the carousel

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.

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

how to add left and right arrows in the carousel

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

Return to “Issues”