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

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

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

    隨筆-5  評論-22  文章-35  trackbacks-0
    <div style="background: url('http://screenprint2007.cpp114.com/UserFiles/20070412155452218.gif') no-repeat;text-align:center;width:256px;height:18px;position:absolute;top:110;left:10;font-size:13px">
    <div id="proc" style="background: url('http://screenprint2007.cpp114.com/UserFiles/20070412155424937.gif');position:absolute;top:0;left:0;width:0px;height:18px;font-size:13px"></div>
    <div style="position:absolute;top:2;left:0;width:256px;height:18px;text-align:center;font-size:13px;background:transparent">&nbsp;</div>
    </div>
    <br><br><br><br><br><br>
    <input type="button" value="start" onclick="processBar.changeMode();if(processBar.isMoving){this.value='Stop';}else{this.value='Start';}">
    <script>
    document.execCommand("BackgroundImageCache",false,true);
    function ProcessBar(obj){
          this.isMoving = false;
          this.maxLength = parseInt(obj.parentNode.style.width.replace("px",""));
          this.nowLength = parseInt(obj.style.width.replace("px",""));
          this.moveInterval = 100;
          this.moveRange = 1;
          this.timer;
          this.obj = obj;
          ProcessBar.nowObj = this;
          this.changeMode = function(){
         this.isMoving = !this.isMoving;
     
         if(this.isMoving){
          this.timer = window.setInterval(ProcessBar.nowObj.moving, this.moveInterval);
         }else{
          window.clearInterval(this.timer);
         }
          }
          this.moving = function(){
               ProcessBar.nowObj.nowLength += ProcessBar.nowObj.moveRange;
         ProcessBar.nowObj.obj.style.width = ProcessBar.nowObj.nowLength;
         ProcessBar.nowObj.obj.parentNode.lastChild.firstChild.data = Math.ceil((ProcessBar.nowObj.nowLength/ProcessBar.nowObj.maxLength)*100) + "%";
         if(ProcessBar.nowObj.nowLength >= ProcessBar.nowObj.maxLength){
          window.clearInterval(ProcessBar.nowObj.timer);
          ProcessBar.nowObj.obj.parentNode.lastChild.firstChild.data = "Complete!";
         }
          }
      
    }
    var processBar = new ProcessBar(proc);
    </script> 
    posted on 2007-12-04 13:47 fish的Blog 閱讀(1728) 評論(0)  編輯  收藏 所屬分類: JavaScript
    主站蜘蛛池模板: 亚洲精品在线免费观看| 麻豆精品不卡国产免费看| 成年男女男精品免费视频网站 | 亚洲中文字幕无码永久在线| 精品女同一区二区三区免费播放| 成人毛片免费观看视频在线| 亚洲日本一线产区和二线产区对比| 免费福利在线播放| 亚洲三级中文字幕| 蜜桃视频在线观看免费网址入口| 精品国产成人亚洲午夜福利| 黄网址在线永久免费观看| 亚洲色偷偷偷综合网| 国产成人高清精品免费鸭子| 视频一区在线免费观看| 亚洲精品成人久久久| 拍拍拍无挡视频免费观看1000| 亚洲精品乱码久久久久久按摩| 免费精品久久天干天干| 亚洲一区中文字幕久久| 香蕉97超级碰碰碰免费公| 亚洲精品一二三区| 免费永久看黄在线观看app| 人妻巨大乳hd免费看| 亚洲AV一宅男色影视| 成人黄色免费网站| 美女视频黄频a免费| 亚洲综合色视频在线观看| 一级毛片**不卡免费播| 亚洲综合色丁香婷婷六月图片| 国产高清免费在线| 国产精品内射视频免费| 亚洲国产精品久久久久久| 18禁成年无码免费网站无遮挡| 国产亚洲蜜芽精品久久| 久久精品国产亚洲| 国内免费高清在线观看| 国产成人高清精品免费观看| 亚洲理论片在线观看| 国产免费午夜a无码v视频| 免费污视频在线观看|