<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    風(fēng)行天下

    JAVA太極
    posts - 4, comments - 10, trackbacks - 0, articles - 55
      BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理
    <script language="javascript">
    //**************************************************
    //作者:云鳳生(hainanyun@hotmail.com)
    //創(chuàng)建日期:2005-3-23
    //最后修改日期:2005-4-2
    //功能:在頁面中提交查詢動作后,出現(xiàn)進(jìn)度條,直到
    //  新的頁面的數(shù)據(jù)全部load出來。
    //**************************************************
     function onSubmit() {
      var waitingInfo = document.getElementById(getNetuiTagName("waitingInfo"));
      waitingInfo.style.display = ""; //show the ProgressBar
      progress_update();    //begin the progressbar
      //waiting for several seconds,you would delete in your case
      for(i=0;i<1000000;i++){
       j=i+i;
      }
      location.href="progressbar.jsp"; //config your action page in here
     }


     // Build the netui_names table to map the tagId attributes
     // to the real id written into the HTML
     if (netui_names == null)
      var netui_names = new Object();
     netui_names.selectButton="portlet_15_1selectButton"
     // method which will return a real id for a tagId
     function getNetuiTagName(id) {
      return netui_names[id];
     }

     // method which will return a real id for a tagId,
     // the tag parameter will be used to find the scopeId for
     // containers that may scope their ids
     function getNetuiTagName(id, tag) {
      var scopeId = getScopeId(tag);
      if (scopeId == "")
         return netui_names[id];
      else
         return netui_names[scopeId  + "__" + id];
     }

     // method which get a tag will find any scopeId that,
     // was inserted by the containers
     function getScopeId(tag) {
        if (tag == null)
           return "";
        if (tag.getAttribute) { 
           if (tag.getAttribute('scopeId') != null)
              return tag.getAttribute('scopeId');
        } 
        if (tag.scopeId != null)
           return tag.scopeId;
        return getScopeId(tag.parentNode);
     }

     // Build the netui_names table to map the tagId attributes
     // to the real id written into the HTML
     if (netui_names == null)
        var netui_names = new Object();
     netui_names.waitingInfo="waitingInfo"

     var progressEnd = 15;  // set to number of progress <span>'s.
     var progressColor = 'green'; // set to progress bar color
     var progressInterval = 200; // set to time between updates (milli-seconds)

     var progressAt = progressEnd;
     var progressTimer;
     function progress_clear() {
      for (var i = 1; i <= progressEnd; i++)  
      document.getElementById('progress'+i).style.backgroundColor = 'transparent';
      progressAt = 0;
     }
     function progress_update() {
      progressAt++;
      if (progressAt > progressEnd) progress_clear();
      else document.getElementById('progress'+progressAt).style.backgroundColor = progressColor;
      progressTimer = setTimeout('progress_update()',progressInterval);
     }
     function progress_stop() {
      clearTimeout(progressTimer);
      progress_clear();
     }
    </script>



    <span id="waitingInfo" style="display:none">
    <table align="center"><tr><td>
    正在處理數(shù)據(jù), 請稍候......
    <div style="font-size:2pt;padding:2px;border:solid black 1px">
    <span id="progress1">   </span>
    <span id="progress2">   </span>
    <span id="progress3">   </span>
    <span id="progress4">   </span>
    <span id="progress5">   </span>
    <span id="progress6">   </span>
    <span id="progress7">   </span>
    <span id="progress8">   </span>
    <span id="progress9">   </span>
    <span id="progress10">   </span>
    <span id="progress11">   </span>
    <span id="progress12">   </span>
    <span id="progress13">   </span>
    <span id="progress14">   </span>
    <span id="progress15">   </span>
    </div>
    </td></tr></table>
    </span>

    <center>
    點擊按鈕試試:
    <input name="button" type="button" value="查詢" onClick="javascript: return onSubmit();"> 
    </center>


    參與論壇討論:http://www.matrix.org.cn/forum.asp
    更多技術(shù)文章:http://www.matrix.org.cn/article.asp
    Matrix java門戶:http://www.matrix.org.cn
    原文地址:http://www.matrix.org.cn/article/1360.html

    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 特黄aa级毛片免费视频播放| 久久亚洲AV成人无码国产最大| XXX2高清在线观看免费视频| 亚洲一区无码精品色| 美女视频免费看一区二区| 日韩视频在线免费观看| 亚洲第一第二第三第四第五第六 | 亚洲毛片在线观看| 久别的草原电视剧免费观看| 亚洲精品福利视频| 16女性下面扒开无遮挡免费| 亚洲天堂中文字幕在线观看| 日本一区二区三区免费高清| 亚洲成熟丰满熟妇高潮XXXXX| 在线观看免费精品国产| 美女又黄又免费的视频| 亚洲国产精品尤物yw在线| 一进一出60分钟免费视频| 亚洲一区无码中文字幕| 日韩精品极品视频在线观看免费| 精品亚洲国产成AV人片传媒| 一二三四在线观看免费高清中文在线观看 | 亚洲天堂一区在线| 日本一道本高清免费| 四虎精品成人免费视频| 亚洲av中文无码乱人伦在线播放| 成人免费黄色网址| 国产成人综合亚洲| 亚洲国产精品乱码一区二区| 无码乱肉视频免费大全合集| 国产精品手机在线亚洲| 国产亚洲精品a在线观看app | 国产大片免费网站不卡美女| 亚洲av无码专区国产不乱码 | 九月丁香婷婷亚洲综合色| 国产精品永久免费10000| 香蕉视频在线观看免费| 久久青青成人亚洲精品| 精品免费国产一区二区| 在线观看肉片AV网站免费| 亚洲AV男人的天堂在线观看|