jQuery Live

Aug 4, 2011 at 9:16 AM

hi everybody, sun is shining and bugs too...

I try to use wipetouch with another event handler, and this gives that syntax that I thought correct :

$('div.contenumenu').live({
	wipetouch:{
		  tapToClick: true, // if user taps the screen, triggers a click event
		  wipeLeft: function(result) { 	
			...
		  },
		  wipeRight: function(result) { 
			..
		  },
		  wipeUp: function(result) { 
			...
		  },
		  wipeDown: function(result) { 
			...
		  }
	},
	mousewheel:function(event, delta, deltaX, deltaY) {			
		...	
	}
});

Unfortunately, mousewheel works but not wipetouch...

Any idea?