Webpage loading with excellent mobility
First:
Code: [copy]
<HTML>
<Head> <title> Red Cherry community </title>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
<Meta name = "keywords" content = "jojoo.net">
<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 = "http://aspcn.com.ru/bbs ";
Else {
Setsb (v, El );
Window. setTimeout ("fakeprogress (" + (++ v) + ", document. All ['" + El. ID + "'])", 20 );
}
}
</SCRIPT>
</Head>
<Body onload = "fakeprogress (0, Sb)" topmargin = 180 bgcolor = # eeeeeeee>
<Center>
<Font color = gray> <p align = center style = "color: # 0085dd; font-family:; font-szie: 12px; line-height: 100% "> loading... </P> </font>
<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: # 9999ff "> </div>
<Div style = "font-size: 12px; width: 100%; color: # ff3333; font-family: Arial; text-align: Center"> </div>
</Span>
</Center>
</Body>
</Html>
Second:
Code: [copy]
<HTML>
<Head>
<Title> Red Cherry community </title>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
</Head>
<Body bgcolor = "# ffffff" leftmargin = "0" topmargin = "0">
<Table border = 0 cellpadding = 0 cellspacing = 0 width = "100%" Height = "100%">
<Tr>
<Form name = loading>
<TD align = center>
<P> <font color = gray> loading... please wait </font> </P>
<P>
<Input type = text name = chart size = 46 style = "font-family: Arial; font-weight: bolder; color: Gray; Background-color: White; padding: 0px; border-style: none; ">
<Br>
<Input type = text name = percent size = 46 style = "font-family: Arial; color: Gray; text-align: center; border-width: Medium; border-style: none; ">
<SCRIPT> var bar = 0
VaR line = "|"
VaR amount = "|"
Count ()
Function count (){
Bar = BAR + 2
Amount = Amount + LINE
Document. Loading. Chart. value = Amount
Document. Loading. percent. value = BAR + "%"
If (Bar <99)
{SetTimeout ("count ()", 100 );}
Else
{Window. Location = "http://aspcn.com.ru/bbs ";}
}
</SCRIPT>
</P>
</TD>
</Form>
</Tr>
</Table>
</Body>
</Html>
Third:
Code: [copy]
<HTML>
<Head>
<Title> Red Cherry community </title>
<Meta http-equiv = Content-Type content = "text/html; charset = gb2312">
<SCRIPT type = text/JavaScript>
<! --
VaR ie5 = (document. All & document. getelementsbytagname );
VaR step = 0;
Function setsb (v, El, inforel, message ){
If (ie5 | document. readystate = "complete "){
Filterel = El. Children [0];
Valueel = El. Children [1];
If (filterel. style. pixelwidth> 0 ){
VaR filterbackup = filterel. style. filter;
Filterel. style. Filter = "";
Filterel. style. Filter = filterbackup;
}
Filterel. style. width = V + "% ";
Valueel. innertext = V + "% ";
Inforel. innertext = message;
}
}
Function setsbbystep (v, El, inforel, message ){
If (ie5 | document. readystate = "complete "){
Step = Step + V;
Filterel = El. Children [0];
Valueel = El. Children [1];
If (filterel. style. pixelwidth> 0 ){
VaR filterbackup = filterel. style. filter;
Filterel. style. Filter = "";
Filterel. style. Filter = filterbackup;
}
Filterel. style. width = Step + "% ";
Valueel. innertext = Step + "%"
Inforel. innertext = message;
}
}
Function fakeprogress (v, El ){
If (V & gt; = 101)
Location. href = "http://aspcn.com.ru/bbs ";
Else {
Setsb (v, El, infor, "loading... please wait ");
Window. setTimeout ("fakeprogress (" + (V + 1) + ", document. All ['" + El. ID + "'])", 60 );
}
}
// -->
</SCRIPT>
</Head>
<Body onload = "fakeprogress (0, Sb)" topmargin = 100 bgcolor = "#999999">
<Br>
<! -- Status Bar starts -->
<Div align = center>
<Div id = sb
Style = "border-Right: White 0px inset; border-top: White 0px inset; Background: # cccccc; border-left: White 0px inset; width: 200px; border-bottom: white 0px inset; Height: 20px; text-align: Left ">
<Div id = sbchild1
Style = "filter: alpha (opacity = 0, finishopacity = 80, style = 1, startx = 0, starty = 0, finishx = 100, finishy = 0); width: 0%; position: absolute; Height: 20px ">
<Div
Style = "font-size: 1px; Background: # ffffff; width: 100%; Height: 100%"> </div>
<Div
Style = "font-size: 11px; width: 100%; color: #000000; font-family: verdana; position: absolute; text-align: center "> </div>
<! -- Status bar ends -->
<Br>
<Div id = infor
Style = "font-size: 11px; width: 100%; color: #000000; font-family: verdana; position: relative; text-align: Center">
</Div>
</Div>
</Body>
</Html>