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

Carousel Navigation

Does not seem to work

Appery('Imageitem').on("tap", function()
{
Tiggzi.navigateTo('Scoopon', {reloadPage: true})
});

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Carousel Navigation

Hello,

You should use "mobilecarouselitem" instead of "Imageitem".

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

Carousel Navigation

Why?
Imageitem is the Name Property of the Carousel Item as per Katya's example

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

Carousel Navigation

Any response here?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Carousel Navigation

Sorry for late response.

Did you try to use mobilecarouselitem instead of Imageitem ?

Code which Katya posted:

pre
Appery('mobilecarouselitem_3').on("tap",
function() {
// your JS code
}
);
/pre

Mobilecarouselitem isn't the same as Imageitem.

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

Carousel Navigation

No my carousel item is not called mobilecarouselitem_3. It is called Imageitem. So yes as you can see I did try her example and it is not working.

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

Carousel Navigation

Hello! Sorry for delay. If we understand correctly you have some service wich receives data to fill in Carousel. On service success event run the following code:
pre$('[name=Imageitem]').off().on("click", function() {
Appery.navigateTo('Scoopon', {reloadPage: true});
});/pre

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

Carousel Navigation

Yes, carousel is filled with data.

No not on service success. On click or tap event of a particular image i need to navigate to the page associated with that image.

This is the same principle taht applies to a webite sliders. Click a slider image and you are navigated to the relevant page.

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

Carousel Navigation

Hi Deon,

This code is not for navigating to another page on service success. It just adds Image click event handler (for navigating to another page on Image click).

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

Carousel Navigation

That is what I want but it does not work. Can you please read my original request and tell me how to do that? This is wasting my time as it does not seem you know what I want to do? What don't you understand about my question?

Original Question.......................

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

Return to “Issues”