1. 论坛系统升级为Xenforo,欢迎大家测试!
    排除公告

放个进度条]

本帖由 OUYANG2005-12-26 发布。版面名称:新人报道

  1. OUYANG

    OUYANG New Member

    注册:
    2005-09-06
    帖子:
    3,025
    赞:
    5
    HTML:
    <SCRIPT LANGUAGE="JavaScript">
    <!-- 
    //***********默认设置定义.*********************
    tPopWait=0;//停留tWait豪秒后显示提示。
    tPopShow=5000;//显示tShow豪秒后关闭提示
    showPopStep=20;
    popOpacity=99;
    
    //***************内部变量定义*****************
    sPop=null;
    curShow=null;
    tFadeOut=null;
    tFadeIn=null;
    tFadeWaiting=null;
    
    document.write("<style type='text/css'id='defaultPopStyle'>");
    document.write(".cPopText { font-family: <%=fontfamily%>; background-color: #ffffff; color:#ff0000;border: 1px #00ff00 solid; font-size: <%=fontsize%>; padding-right: 4px; padding-left: 4px; height: 20px; padding-top: 3px; padding-bottom: 1px; filter: Alpha(Opacity=0)}");
    document.write("</style>");
    document.write("<div id='dypopLayer' style='position:absolute;z-index:1000;' class='cPopText'></div>");
    function showPopupText(){
    var o=event.srcElement;
      MouseX=event.x;
      MouseY=event.y;
      if(o.alt!=null && o.alt!=""){o.dypop=o.alt;o.alt=""};
      if(o.title!=null && o.title!=""){o.dypop=o.title;o.title=""};
      if(o.dypop!=sPop) {
              sPop=o.dypop;
              clearTimeout(curShow);
              clearTimeout(tFadeOut);
              clearTimeout(tFadeIn);
              clearTimeout(tFadeWaiting);     
              if(sPop==null || sPop=="") {
                  dypopLayer.innerHTML="";
                  dypopLayer.style.filter="Alpha()";
                  dypopLayer.filters.Alpha.opacity=0;     
                  }
              else {
                  if(o.dyclass!=null) popStyle=o.dyclass 
                      else popStyle="cPopText";
                  curShow=setTimeout("showIt()",tPopWait);
              }
      }
    }
    
    function showIt(){
          dypopLayer.className=popStyle;
          dypopLayer.innerHTML=sPop;
          popWidth=dypopLayer.clientWidth;
          popHeight=dypopLayer.clientHeight;
          if(MouseX+12+popWidth>document.body.clientWidth) popLeftAdjust=-popWidth-24
              else popLeftAdjust=0;
          if(MouseY+12+popHeight>document.body.clientHeight) popTopAdjust=-popHeight-24
              else popTopAdjust=0;
          dypopLayer.style.left=MouseX+12+document.body.scrollLeft+popLeftAdjust;
          dypopLayer.style.top=MouseY+12+document.body.scrollTop+popTopAdjust;
          dypopLayer.style.filter="Alpha(Opacity=0)";
          fadeOut();
    }
    
    function fadeOut(){
      if(dypopLayer.filters.Alpha.opacity<popOpacity) {
          dypopLayer.filters.Alpha.opacity+=showPopStep;
          tFadeOut=setTimeout("fadeOut()",1);
          }
          else {
              dypopLayer.filters.Alpha.opacity=popOpacity;
              tFadeWaiting=setTimeout("fadeIn()",tPopShow);
              }
    }
    
    function fadeIn(){
      if(dypopLayer.filters.Alpha.opacity>0) {
          dypopLayer.filters.Alpha.opacity-=1;
          tFadeIn=setTimeout("fadeIn()",1);
          }
    }
    document.onmouseover=showPopupText;
    // -->
    </SCRIPT>
    <SCRIPT LANGUAGE="JavaScript">
    <!-- 
    function openwin(URL)
    { showModalDialog(URL,"","dialogWidth:10px;status:no;dialogHeight:10px;resizable:no");
    }
    function news(URL)
    { window.open(URL,"news","toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=600,height=430,left=0,top=0");
    }
    function art(URL1)
    { window.open(URL1,"art","toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=650,height=430,left=0,top=0");
    }
    function down(URL2)
    { window.open(URL2,"down","toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=500,height=400,left=0,top=0");
    }
    function photo(URL3)
    { window.open(URL3,"photo","toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=760,height=580,left=0,top=0");
    }
    function link() 
    {win = window.open("","link","width=400,height=150")} 
    function vote() 
    {win = window.open("","vote","status=yes,scrollbars=yes,width=600,height=350")} 
    // -->
    </SCRIPT>
    <div id="ld" style="position:absolute; left:0px; top:0px; width:100%; height:100%; background-color:#ffffFF; z-index:1000;"> 
    <br>
    <br><br><br><br><br><br><br><br><br><br><br>
    <table align="center" width="50%"> 
    <tr> 
      <td align="center"><font color=#0000ff><b>(小粽)</b> http://www.hg209.126x.com</font><br>
        <br>
        <font color="#0000ff"> 正在进入请稍等 … … </font></td> 
    </tr> 
    </table> 
    <table width="50%" align="center" border="0" cellspacing="1" cellpadding="0" bgcolor="#ffffFF">
    <tr> 
      <td align="left" bgcolor="#ffffff" > 
      <table id="lpc" bgcolor="#3399ff" height="8"> 
    <tr> 
    <td></td> 
    </tr> 
    </table> 
    </td> 
    </tr> 
    <tr> 
    <td></td> 
    </tr> 
    </table> 
    </div> 
    <div style="display:none;" id="page"><q id="q"></q></div>
    <script language="JavaScript"> 
    <!-- 
    ini = new Date().getTime(); 
    var pc = 0; 
    load(); 
    
    function load() 
    { 
    pc += 4; lpc.style.width = pc + "%"; 
    time = setTimeout("load()",10); 
    if (pc > 100) 
    { 
    clearTimeout(time); 
    loaded() 
    } 
    } 
    function loaded() 
    { 
    fim = new Date().getTime(); 
    dif = fim - ini; 
    ld.style.display = 'none'; 
    //body.style.backgroundColor = 'white'; 
    //q.innerHTML = dif/1000;//显示加载时间到层q 
    page.style.display = ''; 
    } 
    function Show() 
    { 
    if (txt.style.display == "none") 
    { 
    txt.style.display ="inline"
    } 
    else 
    { 
    txt.style.display = "none" 
    } 
    } 
    --> 
    </script>