Page 1 of 1

Carousel navigation on click event

Posted: Thu Jul 03, 2014 1:26 pm
by DavidHeacock

Hi,

I'm trying to write a function within the onClick event of the carousel image to make it navigate to the next image. How should I invoke this method?

Cheers


Carousel navigation on click event

Posted: Thu Jul 03, 2014 2:09 pm
by Kateryna Grynko

Hi David,

Try:preAppery( "mobilecarouselName" ).carouselRoot.carousel( "next");/preOr:preAppery( "mobilecarouselName" ).carouselRoot.carousel( "previous");/pre


Carousel navigation on click event

Posted: Mon Jul 07, 2014 9:58 am
by DavidHeacock

Perfect, thanks. I think I put the event on the carousel item, not the carousel itself.