pass through clicks

Sep 18, 2011 at 11:36 PM

I am trying to use wipetouch with the cycle plugin but I do not understand the tapToClick

would anybody knows how to let clicks passthrough to the cycle plugin. This is my code

$('#slideshow').cycle({

fx:     'fade',

timeout: 4000

});

 

$("#slideshow").wipetouch({

 tapToClick: true,

wipeLeft: function(result) { $('#slideshow').cycle('next'); },

wipeRight: function(result) { $('#slideshow').cycle('prev'); } 

});

Sep 20, 2011 at 11:18 AM

If tapToClick is true, it will trigger a click on the target element so it should work fine.

Do you have a test URL? I can take a look and if there's actually a bug I'll fix it straight away.

Sep 20, 2011 at 4:10 PM

Hi,


Here is the test page: http://www.brickell-realty.com/tpad.html

The moving slideshow in the top is being animated with the cycle plugin and the one that has wipetouch also applied to it

The only way I can get it to work is if I set preventDefault to false then tapToClick does not matter and clicks are pass through!

Thanks in Advance

Ivan

May 3, 2012 at 5:11 PM

Hi, Ivan.

Would you please post the code that you implemented the sliding images. As i am a new to jquery, i really need to see more example to figure how to implement one likes yours.

Much appriciate

Van Pham