Performance 如何防止fastclick在jquery mobile中显示加载对话框?
在我的android Phonegap应用程序中,我使用了fastclick库来消除300毫秒的延迟,问题是当我单击一个按钮时,一个加载对话框出现如下图所示。如何防止出现此加载对话框 我已经逐行阅读了fastclick java脚本文件,没有明确调用$.mobile.loading show。。请帮帮我 下面是我如何在我的应用程序中使用fastclickPerformance 如何防止fastclick在jquery mobile中显示加载对话框?,performance,jquery-mobile,cordova,click,Performance,Jquery Mobile,Cordova,Click,在我的android Phonegap应用程序中,我使用了fastclick库来消除300毫秒的延迟,问题是当我单击一个按钮时,一个加载对话框出现如下图所示。如何防止出现此加载对话框 我已经逐行阅读了fastclick java脚本文件,没有明确调用$.mobile.loading show。。请帮帮我 下面是我如何在我的应用程序中使用fastclick <head> <script type="text/javascript" src="js/fastclick.js"&g
<head>
<script type="text/javascript" src="js/fastclick.js"></script>
<script>
$(function() {FastClick.attach(document.body);});
</script>
</head>
<body>
<div data-role="page" id="index">
<div data-role="header" data-theme="b">Main</div>
<div data-role="content">
<div>
<a href="Page1.html" data-transition="none" class="ui-btn" data-role="button" data- theme="none" data-shadow="false" data-corners="false" ><img id="Page1_IMG" src="images/P1.png" /></a><BR>
<font color="white" size="6px"> Page1 </font>
</div>
</div>
</div>
</body>
@奥马尔霍??从哪里来?fastclick中没有加载程序。js@OmarCan你能帮我更多吗?试试这个$document.onmobileinit,函数{$.mobile.loadingMessage=false;}@OmarThis将仅关闭索引页上的加载程序?还是整个应用程序?因为在我应用程序的另一个页面中,我需要显示一个加载器。这将在所有页面上禁用加载器。在这种情况下,您需要根据页面禁用/启用它。它需要不同的js来实现它。