Page 2 of 3

Carousel Navigation

Posted: Sat Nov 02, 2013 10:39 am
by Deon

Does not seem to work

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


Carousel Navigation

Posted: Sat Nov 02, 2013 11:56 am
by Igor

Hello,

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


Carousel Navigation

Posted: Sat Nov 02, 2013 4:48 pm
by Deon

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


Carousel Navigation

Posted: Sun Nov 03, 2013 4:32 pm
by Deon

Any response here?


Carousel Navigation

Posted: Sun Nov 03, 2013 5:09 pm
by Igor

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.


Carousel Navigation

Posted: Sun Nov 03, 2013 6:08 pm
by Deon

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.


Carousel Navigation

Posted: Mon Nov 04, 2013 11:54 am
by Maryna Brodina

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


Carousel Navigation

Posted: Mon Nov 04, 2013 12:58 pm
by Deon

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.


Carousel Navigation

Posted: Mon Nov 04, 2013 4:24 pm
by Kateryna Grynko

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).


Carousel Navigation

Posted: Tue Nov 05, 2013 1:41 am
by Deon

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?