Thank you for your reply.
I thought the title of my question was clear enough.
I want to click on images that are inside a GalleryView but only trigger the click event if the drag event isn't triggered itself... actually if I set a click event on those images now, I can't use the gallery view properly without trigger a click event...
I thought i could do this using "event.preventDefault()" on click event if drag event is triggered... but that means users will have to be really accurate when clicking on images...
Still don't know the best way
You must be doing diffently than I am. My gallery appears to be doing what you're looking for; swipe will change the gallery view (previous/next cell) and tap will activate my JS code.
I have the gallery view with images on an iPhoen project. The images in the 1st and 2nd cell have the onviewactivate event. I just changed my image in my 2rd cell to got to page action. Both behaves as expected on my iPod touch.
If we can identify how you're doing differently, maybe we can help you.