<p><font color="000000">正在载入,请稍候.......</font></p> <p> <input type=text name=loadingbar size=46 style="font-family:Arial; font-weight:bolder; color:7285CF; background-color:white; padding:0px; border-style:none;"> <br> <input type=text name=percent size=46 style="font-family:Arial; color:FF0000; text-align:center; border-width:medium; border-style:none;"> </p> <script> var bar = 0; var line = "||"; var lines ="||"; count(); function count(){ bar= bar+2 lines =lines + line document.getElementById("loadingbar").value=lines document.getElementById("percent").value=bar+"%" if (bar<100) {setTimeout("count()",90);} else { alert("OK"); } } </script>
|