• 模式DIV。


    JS:
    <script> 
    //模式DIV开始
        function opendivshow(width, title, href) {
            document.getElementById('lightshow').style.display = 'block';
            document.getElementById('lightshow').style.width = width + "px";
            document.getElementById('lightshow').style.marginLeft = -(width / 2) + "px";
            document.getElementById('messagebox').style.width = width + "px";
            document.getElementById('fadeshow').style.display = 'block';
            $("#showdiv1").hide();
            $("#showdiv2").hide();
            $("#" + title).show();
        }
        function closedivshow() {
            document.getElementById("lightshow").style.display = 'none';
            document.getElementById("fadeshow").style.display = 'none';
        }
        //模式DIV结束
    </script>

    页面上:
     <div id="lightshow" class="div_content">
            <div id="messagebox" class="div_messageshow">
            </div>
            <div class="div_main">
                <span id="spIndexMemberTaobaoList">请选择买号:
                </span>
                <br />
                <div style=" 160px; height: 30px; line-height: 30px; text-align: center; cursor: pointer;"><span style="background-color: #ccc; 30px; height: 30px;" οnclick="SureToTakeOver();javascript:closedivshow();">确 定</span><span style=" 30px; height: 30px; margin-left: 15px; background-color: #ccc;" οnclick="javascript:closedivshow();">取 消</span></div>
            </div>
        </div>
        <div id="fadeshow" class="div_overlay"></div>
        <a id="showczm" οnclick="javascript:opendivshow('300','','javascript:closedivshow()')"></a><%--showczm111111111输入操作码暂时隐藏--%>

    样式

     /*模式DIV开始*/
    .div_overlay{
                display: none;
                position: fixed;
                top: 0%;
                left: 0%;
                100%;
                height: 100%;
                background-color: black;
                z-index:1010;
                -moz-opacity: 0.8;
                opacity:.80;
                filter: alpha(opacity=80);
    }
    .div_content {
                display: none;
                position: fixed;
                top: 30%;
                left: 50%;
                280px;
    margin-left:-140px;
                height: 550px;
    margin-top:-80px;
                padding: 0;
                border: 12px solid #3777BC;
                background-color: #F0F5F8;
                _position:absolute;
                z-index:1011;
                overflow: hidden;
    }

    .div_messageshow
    {
    height:0px;
    280px;
    line-height:0px;
    text-align:center;
    margin:0 auto;
    color:#000;
    font-size:13px;
    font-weight:bold;
    overflow:hidden;
    margin-top:10px;
    }

    .div_main
    {
    160px;
    margin:0 auto;
    text-align:center;
    line-height:25px;
    height:50px;
    margin-top:5px;
    padding:0;
    }
     /*模式DIV结束*/

     
  • 相关阅读:
    转载一篇关于kafka零拷贝(zero-copy)通俗易懂的好文
    kafka的一些核心理论知识
    Kafka知识点(Partitions and Segments)
    kafka: Producer配置和Consumer配置
    kafka: Java实现简单的Producer和Consumer
    SAP抛xml资料到kafka(本机模拟)
    解决方法: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation
    kafka log保存在本机的位置 kafka数据保存的位置
    Kafka: 下载安装和启动
    tomcat错误提示:指定的服务未安装。Unable to open the service 'tomcat9'的原因和解决方法
  • 原文地址:https://www.cnblogs.com/wybshyy/p/13783829.html
Copyright © 2020-2023  润新知