点击某个按钮或链接时,触发等待加载效果:
HTML代码:
[url]http://www.elated.com/res/File/articles/development/javascript/jquery/jquery-mobile-1-1-smoother-faster-nicer/loading.html[/url]
[url]http://my.oschina.net/geomen/blog/60259[/url]
jqueryMobile插件仿iPhone滑动出现删除按钮
[url]http://www.oschina.net/code/snippet_152736_17798[/url]
jquery mobile 侧滑插件
[url]http://mmenu.frebsite.nl/[/url]
jQuery Mobile十大常用技巧
[url]http://blog.csdn.net/hezudao25/article/details/8052785[/url]
jquery mobile 中文手册API
[url]http://www.lampweb.org/jquerymobile/5/11.html[/url]
JqueryMobile 动态添加元素css丢失的终极解决办法
[url]http://blog.csdn.net/lgd5979/article/details/7161339[/url]
Bootstrap中文网
[url]http://v3.bootcss.com/[/url]
jQuery插件库
[url]http://www.jq22.com/[/url]
移动开发必备!15款jQuery Mobile插件
[url]http://www.csdn.net/article/2013-11-22/2817596-15-jquery-mobile-plugins-for-mobile-dev/1[/url]
<script>
<!--
$(document).bind("mobileinit", function(){
});
$( function() {
//默认设置,一个小圈圈在转
$('#default').live( 'tap', function() {
$.mobile.loadingMessageTextVisible = false;
$.mobile.showPageLoadingMsg();
} );
//小圈子外围加矩形的背景
$('#loadingMessageTextVisible').live( 'tap', function() {
$.mobile.loadingMessageTextVisible = true;
$.mobile.loadingMessageTheme = 'a';
$.mobile.showPageLoadingMsg();
} );
//矩形背景样式为e
$('#loadingMessageTheme').live( 'tap', function() {
$.mobile.loadingMessageTextVisible = true;
$.mobile.loadingMessageTheme = 'e';
$.mobile.showPageLoadingMsg();
} );
//小圈子下面加上文字
$('#customText').live( 'tap', function() {
$.mobile.loadingMessageTextVisible = true;
$.mobile.showPageLoadingMsg( 'a', "Please wait..." );
} );
//只有文字,没有小圈子在转
$('#noSpinner').live( 'tap', function() {
$.mobile.loadingMessageTextVisible = true;
$.mobile.showPageLoadingMsg( 'a', "Please wait...", true );
} );
} );
-->
</script>
HTML代码:
<p><a id="default" data-role="button">Default Loader</a></p>
<p><a id="loadingMessageTextVisible" data-role="button">loadingMessageTextVisible = true</a></p>
<p><a id="loadingMessageTheme" data-role="button">loadingMessageTheme = 'e'</a></p>
<p><a id="customText" data-role="button">Custom Text</a></p>
<p><a id="noSpinner" data-role="button">No Spinner</a></p>
[url]http://www.elated.com/res/File/articles/development/javascript/jquery/jquery-mobile-1-1-smoother-faster-nicer/loading.html[/url]
[url]http://my.oschina.net/geomen/blog/60259[/url]
jqueryMobile插件仿iPhone滑动出现删除按钮
[url]http://www.oschina.net/code/snippet_152736_17798[/url]
jquery mobile 侧滑插件
[url]http://mmenu.frebsite.nl/[/url]
jQuery Mobile十大常用技巧
[url]http://blog.csdn.net/hezudao25/article/details/8052785[/url]
jquery mobile 中文手册API
[url]http://www.lampweb.org/jquerymobile/5/11.html[/url]
JqueryMobile 动态添加元素css丢失的终极解决办法
[url]http://blog.csdn.net/lgd5979/article/details/7161339[/url]
Bootstrap中文网
[url]http://v3.bootcss.com/[/url]
jQuery插件库
[url]http://www.jq22.com/[/url]
移动开发必备!15款jQuery Mobile插件
[url]http://www.csdn.net/article/2013-11-22/2817596-15-jquery-mobile-plugins-for-mobile-dev/1[/url]