easyUI 加载层
2016-01-28 00:00
633 查看
// easyUI 加载层 function load() { $("<div class=\"datagrid-mask\"></div>").css({ display: "block", width: "100%", height: $(window).height() }).appendTo("body"); $("<div class=\"datagrid-mask-msg\" style=\"font-size:12px;\"></div>").html("正在加载,请稍候。。。").appendTo("body").css({ display: "block", left: ($(document.body).outerWidth(true) - 190) / 2, top: ($(window).height() - 45) / 2 }); } // 关闭easyUI加载层 function disLoad() { $(".datagrid-mask").remove(); $(".datagrid-mask-msg").remove(); }
相关文章推荐
- 【树】Unique Binary Search Trees II
- iOS---实现在屏幕上实时绘图的简单效果---CAShaperLayer和UIBezierPath的简单运用
- UICollectionView自定义布局类
- poj1679 The Unique MST
- 初次体验完美easy ui 1.4.4
- 屏幕适配
- UI拉伸图片和获取字符串的的size
- Customize UIView &UITextField
- UITableView的数据源设置和简单介绍
- congruent matrix
- iOS学习之路-图片轮播(UIScrollerView)
- Proteus下对Arduino进行仿真
- Java [Leetcode 225]Implement Stack using Queues
- UIScrollViewAndUIPageController结合使用
- UI控件初始化的调用方法。
- Flex Builder cannot locate the required debug version of the Flash Player problem
- HDOJ1159 - Common Subsequence
- iOS UIView类扩展,直接访问属性 —— HERO博客
- HDOJ4908 - BestCoder Sequence
- UVA 11235 Frequent values RMQ