I wanted to share this easy plugin I wrote for a project with a big emphasis on performance. I was having huge problems with click events happening very slowly, especially on iOS. It made my app feel incredibly sluggish next to a native app, but the problem wasn't that HTML5 was slow, it was just that the webview was waiting around for click events to fire.
jQuery Mobile actually includes a really nice event, vclick, but it doesn't use it by default on any of its buttons. So, this plugin simply removes these default click events and replaces them with vclick.
The result is a big improvement in speed. Check out the demo in whatever browser or device you want and you can see the kind of speed gains you'll get.
Hope this helps someone! It's hard enough competing with native apps to have to worry about click events slowing you down.
After including the js and css, you can implement it as easily as this:
<!-- Your Content Here -->
A bunch of more detailed features are easy to set up, like setting a link to scroll to any slide, or passing settings arguments as data attributes. Check out the README on github or the demo for some examples.
I wrote the first version of this awhile back, but recently was googling around for other jquery carousels and found that there were a ton of overly complicated and overly restrictive ones out there. So I thought I'd bring my project up to speed in case anyone else was looking for something more simple and open. Hope it helps someone.
The event used to handle normal transition button taps in jQuery Mobile seems slow to me in Mobile Safari. It looks like jQuery Mobile is just using the default 'click' event, which has a big delay built in on iOS. I'm talking about buttons like this: