function showLoading() {
document.getElementById("over").style.display = "block";
document.getElementById("layout").style.display = "block";
}
function removeLoading() {
document.getElementById("over").style.display = "none";
document.getElementById("layout").style.display = "none";
}
.over {
display: none;
position: absolute;
top:;
left:;
width: 100%;
height: 100%;
background-color: #f5f5f5;
opacity: 0.5;
z-index:;
} .layout {
display: none;
position: absolute;
top: 40%;
left: 40%;
width: 20%;
height: 20%;
z-index:;
text-align: center;
}
<div id="over" class="over"></div>
<div id="layout" class="layout"><img src="../../images/loading.gif" alt=""/></div>

最新文章

  1. Volley框架设置sessionid
  2. Oracle循环查询结果集 自定义函数
  3. 让你的APK瘦成一道闪电
  4. ASP.NET MVC中解决日志并发处理log4net
  5. Jquery中$.post()与$.get()区别
  6. linux命令学习01-mkdir
  7. 通过崩溃地址找错误行数之Delphi版
  8. 物理数据模型(PDM)-&gt;概念数据模型 (CDM)-&gt;面向对象模型 (OOM):适用于已经设计好数据库表结构了。
  9. ng1笔记
  10. 【转】Install libimobiledevice on Mac OSX
  11. python数据集处理
  12. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL
  13. TestLink工具使用手册介绍
  14. vscode 插件推荐 - 献给所有前端工程师(更新与2018.8.1)
  15. python面向对象-三大特性
  16. [UE4]运行模式
  17. AutoMapper之自定义解析
  18. 深入了解.Net上下文
  19. Web App、Hybrid App与Native App的设计差异
  20. Spring Roo 想知道源码,怎么实现自动生成枯燥的有规律的文件

热门文章

  1. 【i春秋综合渗透测试】《我很简单,请不要欺负我》
  2. 题解 P1052 【过河】
  3. In Triangle Test / To Left Test
  4. JSON字符串带BOM头&quot;ufeff&quot;
  5. Mock测试,结合Fiddler轻松搞定不同场景
  6. 使用PyTorch建立你的第一个文本分类模型
  7. nginx IF 指令
  8. 经验总结:超详细的 Linux C/C++ 学习路线!大厂面试指南
  9. 【杂谈】SpringBoot为啥不用配置启动类
  10. 【每周小项目】使用 puppeteer 插件爬取动态网站