¡@

Home 

2014/10/16 ¤W¤È 12:05:46

jquery Programming Glossary: nextevent

Stop the touchstart performing too quick when scrolling

http://stackoverflow.com/questions/9842587/stop-the-touchstart-performing-too-quick-when-scrolling

#2 with no setTimeout You need to view it on your iPhone iPod iPad or an emulator to test the fiddle. UPDATE function nextEvent this .on 'touchend' function e var self this self.addClass self.data 'tappable role' .off 'touchend' .on 'touchmove' function.. goTo 'undefined' window.location goTo 'div a span' .filter ' tappable data tappable role ' .on 'touchstart' this nextEvent javascript jquery iphone scroll touchscreen share improve this question Here's how I did it Essentially when you navigate.. your 'touchstart' will be followed by a 'touchmove' Using Jq 1.7... on other versions you can use .bind function nextEvent behaviour for end this .on 'touchend' function e DO STUFF this .off 'touchend' behaviour for move this .on 'touchmove'..