Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7922499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:58:38+00:00 2026-06-03T16:58:38+00:00

Im developing a mobile application using phonegap and jquery mobile. I created the layout

  • 0

Im developing a mobile application using phonegap and jquery mobile. I created the layout with data-roles etc… and in this application I have a lot of buttons like the following to go to different pages. (I don’t specifically bind click events to these buttons, they just use the href for the magic).

<a data-role="button" href="#page6">
    go to page 6
</a>

The problem with these buttons is that they are incredibly slow, with the 400ms delay every1 is talking about. Is it possible to replace all events on these buttons with tap/vclick/touchstart (Whatever is best) so they respond instant? They will never have to deal with double taps or people dragreleasing…

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:58:40+00:00Added an answer on June 3, 2026 at 4:58 pm

    I wrote a JS utility called Lightning Touch to get rid of exactly that delay. Here’s me demonstrating it (badly).

    The foundation of that library is Google’s fastButtons, which apparently is no longer available (or if it is, the URL has changed) but used to be available under Creative Commons license from code.google.com.

    Lightning Touch triggers on touchend rather than touchstart, but I suspect you can modify it to work on touchstart without too much effort, if it doesn’t work as-is for you.

    In a presentation, Brian Leroux had a slide about the 400ms-ish delay issue that said “PPL HAVE SOLVED THE SHIT OUT OF THIS.” He linked to a few projects that you might look at if Lightning Touch doesn’t work for your situation. And if those fail you, you can try looking through this other list that he linked to in the same presentation.

    Hope there’s a solution in there somewhere for you. (And if Lightning Touch doesn’t work, I’d love to know exactly why so I can improve it.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a mobile application using phonegap and jquery mobile. I have this
I'm developing an application using jQuery Mobile, Phonegap. The function below I get data
I am developing an application using jQuery mobile 1.1.0 RC1 and phonegap 1.5.0 I
I am developing application using phonegap in eclipse for android .I have created folder
I am developing an application using PhoneGap and jQuery Mobile. Now when the page
I am developing an app using phonegap for Android. I want this mobile application
I am developing a PhoneGap application with JQuery mobile which requires geolocation data. Currently
I am developing the application using jQuery Mobile 4.1. In my app, I have
I'm developing a mobile application using jQuery. On Microsoft Azure, I have an Asp.Net
I am developing a mobile application using Jquery mobile framwork & phonegap. So, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.