Indonesia
<!-- 把如下代码加入<body>区域中 --> <!-- http://www.downcodes.com/js --> <!-- bbs http://www.downcodes.com/bbs --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>CN-Bruce</title> <meta http-equiv="Content-Type " content="text/html; charset=gb2312"> </head> <body> <style type="text/css"> #divLoadCont{posisi:absolute; indeks-z:500; kiri:0; atas:0; lebar:100%; tinggi:98%; klip:lurus(0,100%,100%,0); warna latar belakang: transparan; lapisan-warna latar belakang: putih; } #divLoad1{posisi:mutlak; lapisan-warna latar belakang:perak; warna latar belakang:perak} #divLoad2{posisi:absolute; kiri:0; atas:0; lapisan-warna latar belakang:navy; warna latar belakang:navy} #divLoadText{position:absolute; warna latar belakang: transparan; font-family:arial,helvetica; warna:Angkatan Laut; ukuran font:14px; } </style> <script Language="JavaScript" type="text/javascript"> function lib_bwcheck(){ //Browsercheck (diperlukan) this.ver=navigator.appVersion this.agent=navigator.userAgent this.dom=document .getElementById?1:0 this.opera5=this.agent.indexOf("Opera 5")>-1 this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !ini .opera5)?1:0; this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0; this.ie4=(dokumen.semua && !ini.dom && !ini.opera5)?1:0; this.ie=this.ie4||this.ie5||this.ie6 this.mac=this.agent.indexOf("Mac")>-1 this.ns6=(this.dom && parseInt(this.ver) > = 5) ?1:0; this.ns4=(dokumen.lapisan && !ini.dom)?1:0; this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5) kembalikan ini } var bw=new lib_bwcheck() numImages=10 //速度loaderWidth=300 //进度条长度 currentImg=0 fungsi lib_doc_size(){ this.x=0;this.x2=bw.ie && document.body.offsetWidth-20||innerWidth||0; this.y=0;this.y2=bw.ie && document.body.offsetHeight-5||innerHeight||0; if(!this.x2||!this.y2) return message('Dokumen tidak memiliki lebar dan tinggi') this.x50=this.x2/2;this.y50=this.y2/2; kembalikan ini; } fungsi lib_obj(obj,sarang){ sarang=(!sarang) ? "":'dokumen.'+sarang+'.' ini.evnt=bw.dom? document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+"document.layers." +obj):0; this.css=bw.dom||bw.ie4?this.evnt.style:this.evnt; this.ref=this.css this.w=this.evnt.offsetWidth||ini.css.clip.width|| this.ref.width||ini.css.pixelWidth||0; kembalikan ini } lib_obj.prototype.moveIt = function(x,y){ this.x=x;this.y=y; this.css.left=x;this.css.top=y } lib_obj.prototype.clipTo = fungsi(t,r,b,l,setwidth){ this.ct=t; ini.cr=r; ini.cb=b; ini.cl=l jika(bw.ns4){ ini.css.clip.top=t;ini.css.clip.kanan=r ini.css.clip.bottom=b;ini.css.clip.left=l }lainnya{ if(t<0)t=0;if(r<0)r=0;if(b<0)b=0;if(b<0)b=0 this.css.clip="rect ("+t+","+r+","+b+","+l+")"; if(setwidth){ini.css.pixelWidth=ini.css.width=r; this.css.pixelHeight=this.css.height=b} } } var oLoad2 fungsi startLoading(){ page=new lib_doc_size() oLoadCont=new lib_obj('divLoadCont') oLoad=new lib_obj('divLoad1','divLoadCont' ) oLoad2=lib_obj baru('divLoad2','divLoadCont.document.divLoad1') oLoadText=lib_obj baru('divLoadText','divLoadCont.document.divLoad1') oLoad.moveIt(page.x50-loaderWidth/2,page.y50 -20) oLoadText.moveIt(loaderWidth/2 - oLoadText.w/2,10) oLoad.clipTo(0,loaderWidth,40,0,1) oLoad2.per = loaderWidth/numImages } fungsi loadIt(ok){ currentImg++ if( oLoad2) oLoad2.clipTo(0,oLoad2.per*currentImg,40,0,1) if(!ok){ oLoadCont.css.visibility='tersembunyi' oLoadCont=null; oBeban1=nol; oBeban2=batal; } } fungsi loadIt_display(ok){ currentImg++ if(oLoad2) oLoad2.clipTo(0,oLoad2.per*currentImg,40,0,1) if(currentImg<=numImages) setTimeout("loadIt_display(1)",200) else { oLoadCont.css.visibility='hidden' window.location="http://www.downcodes.com/" } } </script> <div id="divLoadCont"> <div id="divLoad1"> <div id="divLoad2"></div><br> <div id="divLoadText">Memuat...</div> </div> </div> <script> startLoading() //onload=loadIt; //- TINGGALKAN LINE INI SAAT PENGUJIAN. HAPUS KOMENTAR SAAT SIAP loadIt_display(1) //Tinggalkan BARIS INI SAAT PENGUJIAN. HAPUS SAAT SIAP </script> </body> </html>