我为这种事做了一个量身定制的:
http://plugins.jquery.com/project/loading
你需要做的就是:
$.loading({onAjax:true,mask:true});
Run Code Online (Sandbox Code Playgroud)
这将自动连接到ajax事件.但是,还有更多的选项和功能.您可以使用文本,任意元素,应用"脉冲"效果等.看看演示:
http://jquery-values.googlecode.com/svn/other/loading/jquery.loading.htm
| 归档时间: |
|
| 查看次数: |
62688 次 |
| 最近记录: |