zoukankan      html  css  js  c++  java
  • 请稍后控件

    一个学弟问我有没有请稍后的那种提示控件,后来我推荐了UpdateProgress控件,不想下午我自己用了点时间写了个通用的,就几句话……可怜的学弟,又被我忽悠了……上代码有真相!

    代码
    <html>
    <head>    
        
    <script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
        
    <script type="text/javascript">
    //这个代码我测试了一下,WEBSERVICE,AJAX,服务器端控件都可以用他来实现,独家原创哦,记得JQ要1.4以上的
            $(document).ready(
    function() {
                  
    /*触发按钮ID*/  $("#btLoadPage").click(function() {
                
    /*需要显示的层ID*/$("#divStatus").show().ajaxStop(function() {
                        $(
    this).hide();
                    });
                });
            }); 
        
    </script>
    </head>
    <body>  
    <center>
     
    <div id="divStatus"  style="display:none;z-index:8999;height:77px;240px;position:absolute;margin-left:0px;margin-top:200px;" > 
        处理中。。。请等待。。。
      
    <marquee direction="right" scrollamount="3">
       
    <table style="font-size:1px;50px;height:20px;"><tr><td bgcolor="#e5fee5"></td>  <td bgcolor="#caf7ca"></td><td bgcolor="#8feb90"></td></tr></table>
      
    </marquee>
      
    </div>
      
    <input type="button" id="btLoadPage" value="Get Customer Info" onclick="$('#divCustomerInfo').load('http://www.booksky.org');" />
      
    </center>
        
    <div id="divCustomerInfo">   
     
    </div>    
    </body>
    </html>
  • 相关阅读:
    Windows Mobile下创建cmwap接入点
    我的云之旅hadoop单机设置(2)
    ssh登录
    我的云之旅前言(1)
    实时搜索将是下一个核心
    cassandra索引目录
    图书大甩卖(操作系统、C语言、Linux) 已成交
    ehcache实例
    google推出语音搜索
    百姓网看起来还行
  • 原文地址:https://www.cnblogs.com/jacd/p/1831227.html
Copyright © 2011-2022 走看看