zoukankan      html  css  js  c++  java
  • loading 加载提示······

             loading  加载提示  ······ 透明遮罩  居中

    loading 加载提示······   progressBar_m

    body{
    
    margin: 0;
    
    font-size: 12px;
    
    line-height: 100%;
    
    font-family: Arial, sans-serif;
    
    }
    
    .background {
    
    display: block;
    
    width: 100%;
    
    height: 100%;
    
    opacity: 0.4;
    
    filter: alpha(opacity=40);
    
    background:while;
    
    position: absolute;
    
    top: 0;
    
    left: 0;
    
    z-index: 2000;
    
    }
    
    .progressBar {
    
    border: solid 2px #86A5AD;
    
    background: white url(progressBar_m.gif) no-repeat 10px 10px;
    
    }
    
    .progressBar {
    
    display: block;
    
    width: 148px;
    
    height: 28px;
    
    position: fixed;
    
    top: 50%;
    
    left: 50%;
    
    margin-left: -74px;
    
    margin-top: -14px;
    
    padding: 10px 10px 10px 50px;
    
    text-align: left;
    
    line-height: 27px;
    
    font-weight: bold;
    
    position: absolute;
    
    z-index: 2001;
    
    }
    <div id="background" class="background" style="display: none; "></div>
    
    <div id="progressBar" class="progressBar" style="display: none; ">数据加载中,请稍等...</div>
    var ajaxbg = $("#background,#progressBar");
    
    ajaxbg.hide();
    
    $(document).ajaxStart(function () {
    
        ajaxbg.show();
    
    }).ajaxStop(function () {
    
        ajaxbg.hide();
    
    });
  • 相关阅读:
    Azure SQL Storage
    T-SQL quries
    映射盘符
    繁体及其输入法、乱码问题
    匈牙利命名法
    C++四种转换总结
    windows系统下进程间通信
    Qt 中文字符串问题
    PDB文件详解
    DbgView 无法开启Capture Kernel问题
  • 原文地址:https://www.cnblogs.com/zengxiangzhan/p/2161494.html
Copyright © 2011-2022 走看看