Board logo

标题: 一个不错的进程条 [打印本页]

作者: cnangel    时间: 2004-5-14 12:53     标题: 一个不错的进程条

  1. <html>
  2. <head>
  3. <title>进入创意无限 http://www.wooshow.com</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  5. <script type=text/javascript>
  6. <!--
  7. // Power By http://www.1studio.net/
  8. // Mailto:1studio@sina.com
  9. var ie5 = (document.all && document.getElementsByTagName);
  10. var step = 0;
  11. function setSB(v, el, inforEl, message) {
  12. if (ie5 || document.readyState == "complete") {
  13. filterEl = el.children[0];
  14. valueEl = el.children[1];
  15. if (filterEl.style.pixelWidth > 0) {
  16. var filterBackup = filterEl.style.filter;
  17. filterEl.style.filter = "";
  18. filterEl.style.filter = filterBackup;
  19. }
  20. filterEl.style.width = v + "%";
  21. valueEl.innerText = v + "%";
  22. inforEl.innerText = message;
  23. }
  24. }
  25. function setSBByStep(v, el, inforEl, message) {
  26. if (ie5 || document.readyState == "complete") {
  27. step = step + v;
  28. filterEl = el.children[0];
  29. valueEl = el.children[1];
  30. if (filterEl.style.pixelWidth > 0) {
  31. var filterBackup = filterEl.style.filter;
  32. filterEl.style.filter = "";
  33. filterEl.style.filter = filterBackup;
  34. }
  35. filterEl.style.width = step + "%";
  36. valueEl.innerText = step + "%"
  37. inforEl.innerText = message;
  38. }
  39. }
  40. function fakeProgress(v, el) {
  41. if (v >= 101)
  42. location.href="http://bbs.wooshow.com";
  43. else {
  44. setSB(v, el, infor, " 欢迎访问 创意无限 http://www.WooShow.com 网站正在建设请先进入论坛……");
  45. window.setTimeout("fakeProgress(" + (v + 1) + ", document.all['" + el.id + "'])", 20);
  46. }
  47. }
  48. //-->
  49. </script>
  50. </head>
  51. <BODY onload=fakeProgress(0,sb)>
  52. <DIV align=center>
  53. <DIV id=sb style="BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; BACKGROUND: #00CCFF; WIDTH: 400px; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 14px; TEXT-ALIGN: left">
  54. <DIV id=sbChild1 style="FILTER: Alpha(Opacity=0, FinishOpacity=80, Style=1, StartX=0, StartY=0, FinishX=100, FinishY=0); OVERFLOW: hidden; WIDTH: 100%; POSITION: absolute; HEIGHT: 12px">
  55. <DIV style="BACKGROUND: #000000; WIDTH: 100%" hidden overflow: height:12px;></DIV></DIV>
  56. <DIV style="FONT-SIZE: 10px; WIDTH: 400px; COLOR: white; FONT-FAMILY: arial; POSITION: absolute; HEIGHT: 14px; TEXT-ALIGN: center"></DIV></DIV>
  57. <P></P>
  58. <DIV id=infor style="FONT-SIZE: 11px; WIDTH: 100%; COLOR: #999999; FONT-FAMILY: arial; POSITION: relative; HEIGHT: 14px; TEXT-ALIGN: center"></DIV></DIV>
  59. </body>
  60. </html>
复制代码





欢迎光临 星星博客 (http://bbs.huhoo.net/) Powered by Discuz! 7.0.0