页面正在加载中 ...

< script language = " JavaScript "  type = " text/javascript " >
var  t_id  =  setInterval(animate, 30 );
var  pos = 0 ;
var  dir = 2 ;
var  len = 0 ;
function  animate()
{
    
var elem = document.getElementById('progress');
    
if(elem != null{
    
if (pos==0) len += dir;
    
if (len>32 || pos>79) pos += dir;
    
if (pos>79) len -= dir;
    
if (pos>79 && len==0) pos=0;
    elem.style.left 
= pos;
    elem.style.width 
= len;
    }

}

function  remove_loading()  {
    
this.clearInterval(t_id);
    
var targelem = document.getElementById('loader_container');
    targelem.style.display
='none';
    targelem.style.visibility
='hidden';
}

</ script >
< style >
#loader_container 
{
    text
-align:center;
    position:absolute;
    top:
40%;
    width:
100%;
    left: 
0;
}

#loader 
{
    font
-family:Tahoma, Helvetica, sans;
    font
-size:11.5px;
    color:#
000000;
    background
-color:#FFFFFF;
    padding:10px 
0 16px 0;
    margin:
0 auto;
    display:block;
    width:130px;
    border:1px solid #5a667b;
    text
-align:left;
    z
-index:2;
}

#progress 
{
    height:5px;
    font
-size:1px;
    width:1px;
    position:relative;
    top:1px;
    left:0px;
    background
-color:#8894a8;
}

#loader_bg 
{
    background
-color:#e4e7eb;
    position:relative;
    top:8px;
    left:8px;
    height:7px;
    width:113px;
    font
-size:1px;
}

</ style >
< body onLoad = " remove_loading(); " >
< div id = " loader_container " >
    
< div id = " loader " >
    
< div align = " center " > 页面正在加载中 ... </ div >
    
< div id = " loader_bg " >< div id = " progress " >   </ div ></ div >
    
</ div >
</ div >
</ body >  
 
< script language = " javascript " >  
  
function  setSB(v, el) 
    
var ie5 = (document.all && document.getElementsByTagName); 
    
if (ie5 || document.readyState == "complete")     
      filterEl 
= el.children[0]; 
      valueEl 
= el.children[1]; 
      filterEl.style.width 
= v + "%"
      valueEl.innerText 
= v + "%"
    }
 
  }
 
  
function  fakeProgress(v, el) 
    
if (v > 100
      location.href 
= "index2.html"
    
else     
      setSB(v, el); 
      window.setTimeout(
"fakeProgress(" + (++v) + ", document.all['" + el.id + "'])"20); 
    }
 
  }
 
</ script >  


< body onLoad = " fakeProgress(0, sb) "  topmargin = 180  bgcolor = #FFFFFF >  
< center >  
< font color = #FFFFFF >   </ font >  
< p align = center style = " color: #0085dd; font-family: 宋体; font-szie:12px; line-height: 100% " >& nbsp; </ p >  
< p align = center style = " color: #0085dd; font-family: 宋体; font-szie:12px; line-height: 100% " > loading... </ p >  
< p align = center style = " color: #0085dd; font-family: 宋体; font-szie:12px; line-height: 100% " >& nbsp; </ p >  
< p align = center style = " color: #0085dd; font-family: 宋体; font-szie:12px; line-height: 100% " >& nbsp; </ p >  
< p align = center style = " color: #0085dd; font-family: 宋体; font-szie:12px; line-height: 100% " >& nbsp; </ p >  
< p align = center style = " color: #0085dd; font-family: 宋体; font-szie:12px; line-height: 100% " >& nbsp; </ p >  
< p align = center style = " color: #0085dd; font-family: 宋体; font-szie:12px; line-height: 100% " >< font color = " #FFFFFF " > ...... </ font ></ p >  
< span id = sb style = " width: 300px " >  
< div style = " filter: Alpha(Opacity=0, FinishOpacity=60, style=1, StartX=0, StartY=0, FinishX=100, FinishY=0); width: 0%; height: 12px; position: absolute; background: #6ADB95 " ></ div >  
< div style = " font-size: 12px; width: 100%; color: #ff3333; font-family: arial; text-align: center " ></ DIV >  
</ span >  

</ center >  

</ body >  
</ html >
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值