jquery遮罩效果
2013-12-17 16:13
211 查看
1
很好理解的
下载的插件路径在
http://download.csdn.net/detail/li53957105/4489460
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jQuery showLoading example</title> <link href="css/showLoading.css" rel="stylesheet" media="screen" /> <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="js/jquery.showLoading.js"></script> <style type="text/css"> a { color: blue; cursor: pointer; text-decoration: underline; } div.instructions_container { float: left; width: 350px; margin-right: 50px; } div#activity_pane { float: left; width: 350px; height: 200px; border: 1px solid #CCCCCC; background-color: #EEEEEE; padding-top: 200px; text-align: center; } div.example_links .link_category { margin-bottom: 15px; } .loading-indicator-bars { background-image: url('images/loading-bars.gif'); width: 150px; } </style> <script type="text/javascript"> jQuery(document).ready(function() { jQuery('a.loading-ajax').click( function() { /* $('#activity_pane').showLoading({ 'afterShow' : function() { setTimeout("jQuery('#activity_pane').hideLoading()", 1000); } }); */ $('#activity_pane').showLoading(); } ); } ); </script> </head> <body> <div class="link_category"> <div class="link"> <a class="loading-ajax">simulate 1-second Ajax load</a> </div> </div> <div id="activity_pane"> Here is where we will load something via ajax. <br /> This container <b>must</b> have an id attribute </div> <div style="clear: both;"></div> </body> </html>
很好理解的
下载的插件路径在
http://download.csdn.net/detail/li53957105/4489460
相关文章推荐
- jquery中的大图轮播还有遮罩效果
- jquery实现图片灯箱明暗的遮罩效果
- jquery写一个弹出框及遮罩层效果
- JQuery实现遮罩效果
- 使用Jquery实现页面加载时的遮罩效果
- jquery实现图片灯箱明暗的遮罩效果
- jquery 半透明遮罩效果 小结
- jQuery实现带遮罩层效果的blockUI弹出层示例【附demo源码下载】
- jQuery扩展easyui.datagrid,添加数据loading遮罩效果代码
- jquery 遮罩效果
- jQuery实现简单网页遮罩层/弹出层效果兼容IE6、IE7
- jQuery实现按钮点击遮罩加载及处理完后恢复的效果
- jquery 遮罩效果2
- 遮罩层效果 兼容ie firefox jQuery遮罩层 弹出层带关闭按钮
- jQuery演示8种不同的图片遮罩层动画效果
- 一款基于jQuery九宫格遮罩显示文字效果
- jquery动画3.创建一个带遮罩效果的图片走廊
- jQuery遮罩层效果实例分析