Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Carousel Navigation

Hi

Is there a way when I touch an image on the carousel, I can navigate to the page associated with the image?

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

Carousel Navigation

Hi Deon,

Please try increasing Carousel size (for example, set 200px instead of 50px).

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Carousel Navigation

????. How does that navigate to a page associated to an image. That just increases the size of the image. Maybe I have not explained my requirement properly?

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

Carousel Navigation

Deon,

Please give us a public app link.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Carousel Navigation

Hello Deon! Sorry for misunderstanding. It's hard to do because Carousel is a quite complicated element with a big amount of events and it's not that easy to add on click event for inner element of Carousel item and don't change the way Carousel works. You can try, but it's better to find another way to navigate between pages.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Carousel Navigation

Hi Maryna

Thank you. Unfortunately having the ability to click on a carousel item is Industry Standard Practice. It is pointless to even have a carousel component if you cannot click through on it.

I am trying to use the click event of the carousel item to store its value to local storage.Click event on carousel item does not work. It works for the Carousel component itself but it does not seem to know what image was clicked.

Please let me know if there is a way to get this to work. It is extremely important.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Carousel Navigation

Is there someway I can get the contents of the image title for the image item and store it in a local variable when the image is clicked

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Carousel Navigation

Hi Deon,

We need to clarify this with the developers and we will inform you.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Carousel Navigation

Thank you

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

Carousel Navigation

Deon,

This seems to be our bug. For now, you can use the following workaround.
Add this code on Page Show event:preAppery('mobilecarouselitem_3').on("tap",
function() {
// your JS code
}
);/preWhere 'mobilecarouselitem_3' is a Carousel component name,
'tap' is a name of touch event

Return to “Issues”