HOW TO: remove the 300ms delay when clicking on a link in JQuery Mobile
来源:互联网 发布:软件静默安装器 编辑:程序博客网 时间:2024/05/11 01:59
文章来源:http://forum.jquery.com/topic/how-to-remove-the-300ms-delay-when-clicking-on-a-link-in-jquery-mobile
Here is how to remove the annoying click delay on your jquery mobile website.
Copy code
Now in your jquery mobile index.html file, put the following code in the head:
Copy code
Copy code
Finally, wrap everything in between your body tags with a span called "fastclick". Note that if you use a div, you'll run into problems with input fields... so use a span.
Copy code
Done! Clicking/tapping through your app should now feel very responsive.
Original code from this thread: https://forum.jquery.com/topic/google-s-fastbutton
0 0
- HOW TO: remove the 300ms delay when clicking on a link in JQuery Mobile
- How to pass the value to the function when clicking on the UIButton
- How to grant access to SQL logins on a standby database when the guest user is disabled in SQL Serve
- How to remove the duplicated value in a String array
- How to add a DELAY in applying transactions in GoldenGate?
- jQuery Click fires twice when clicking on label
- QT24&25 how to run exe file by clicking a button in Qt
- How to create a link in Linux
- How to remove ^M in the file
- How to remove a layer when its animation completes?
- How to get a type in C++ when its template argument is the argument
- How to detect when the mouse move away from a TPanel in Delphi ?
- How to get the data from a cell when I click on the GridButtonColumn of the same row
- Clicking the dock icon to show the app on Mac
- SiteMap Controls: How to add a duplicate link in the web.sitemap
- How to remove the copyright box on a paper that uses the ACM sig-alternate.cls class file?
- How to remove a line from a file in java?
- How to fix the bug 640*480 resolution only when install ubuntu 14.04 on a old laptop?
- linux 下搭建、配置、使用apache
- Process Architecture
- Jquery操作select
- 使用定时任务crontab
- LinkedList的一种错误用法
- HOW TO: remove the 300ms delay when clicking on a link in JQuery Mobile
- 解决打印代码的一个Bug
- NoSql对比分析
- 虚拟机通过主机上网
- unity3d 学习笔记_____Native2d 刚体、碰撞器、关节的使用
- ArcEngine 画图
- androidRadioButton 自定义样式
- Cousera:Algorithms: Design and Analysis, Part 1
- Robotium API 翻译(一)——click/clickLong操作