欢迎光临
我们一直在努力

动态伸缩ie窗口(酷)(天乐原创)

建站超值云服务器,限时71元/月
动态伸缩ie窗口(酷)
动态伸缩ie窗口(酷)(天乐原创)动态伸缩ie窗口(酷)(天乐原创)天乐先生】 于 2001-11-15 9:24:05 加贴在 asp开发 动态伸缩ie窗口(酷)(天乐原创) 动态伸缩ie窗口(酷)(天乐原创) 动态伸缩ie窗口(酷)(天乐原创) 动态伸缩ie窗口(酷)(天乐原创) 动态伸缩ie窗口(酷)(天乐原创)

    <html>
    <head>
    <title>topdigi</title>
    <meta http-equiv="content-type" content="text/html; charset=gb2312">
    <style type="text/css">
    <!–
    .p,div {font-size:9pt; line-height:14pt; font-family:宋体;}
    .p1{font-size:9pt;font-family:宋体;}
    .p2{font-size:9pt;font-family:宋体;line-height:14pt;}
    .p3{font-size:14.8px;font-family:宋体;}
    .p4{font-size:14.8px;font-family:宋体;line-height:14pt;}
    .p5{font-size:10pt}
    。body{font-size:9pt;font-family:宋体;}
    a {text-decoration: none}
    a:visited {text-decoration: none}
    a:active {text-decoration: none; color: #cc0000}
    a:hover {text-decoration: underline; color: #ff0000}   
    .bor {  border: #000000; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
    .p6 {  font-size: 9pt; text-decoration: line-through; color: #ff3300}
    .textfield {  background-color: #aad5ff}
    .text {  font-size: 12px; color: #ffffff}
    .black {  color: #000000}
    –>
    </style>

    </head>

    <body bgcolor="#ffffff" topmargin="0" leftmargin="0" >
    <script language="javascript" type="text/javascript">
    <!–
    var winheight=100
    var winwidth=100
    var cat=null

    step=1;

    function catswindows(name,width,height,title)
    {

    if (!document.all)
    {
      if (!document.layers)
       {
        paramstp="height="+height+",width="+width+",top=10"+
        ",left=10,scrollbars=no,location=no"+
        ",directories=no,status=yes,menubar=no,toolbar=no,resizable=no"
        cat=window.open("","cat",paramstp);
        oldstr="<html><title>"+title+"</title><body background="+name+">"+"</b"+"ody></h"+"tml>";
        cat.document.write(oldstr);
        if (cat.focus){cat.focus();}
        return;
        }
       else
       {
        leftposition=(screen.width)?(screen.width-width)/2:100;
        topposition=(screen.height)?(screen.height-height)/2:100;
        paramstp="height="+height+",width="+width+",top="+topposition+
        ",left="+leftposition+",scrollbars=no,location=no"+
        ",directories=no,status=no,menubar=no,toolbar=no,resizable=no"
        cat=window.open("","cat",paramstp);
        loadpos=height/2-40
        string="<html><title>"+title+"</title><body bgcolor=black><div id=loadintxt style=position:absolute;top:"+loadpos+"px></div>"
        string1=<s+cript>var animcolorindex=0;colorarray=["#ffffff","#cccccc","#999999","#666666","#333333","#000000","#333333","#666666","#999999","#cccccc"];
        string2=function textlooping(){if(animcolorindex==10)animcolorindex=0;document.loadintxt.document.open();
        string3=document.loadintxt.document.write("<center><font size=4 face=comic sans ms color="+colorarray[animcolorindex]+"><b>loading…</b></font></center>");document.loadintxt.document.close();
        string4=animcolorindex++;};animinterval=setinterval("textlooping()",200);</s+cript>
        string5=<s+cript language="jav+ascript1.2">
        string6="function init(){document.catpic.visibility=show;clearinterval(animinterval);document.loadintxt.visibility=hide;};"
        string7="</s"+"cript>"
        string8="<div id=catpic style=position:absolute;left:0px;top:0px;visibility:hidden>"
        string9="<img src="+name+" width="+width+" height="+height+" border=0 onload=init()></div></b"+"ody></h"+"tml>";
        cat.document.writeln(string);
        cat.document.writeln(string1);
        cat.document.writeln(string2);
        cat.document.writeln(string3);
        cat.document.writeln(string4);
        cat.document.writeln(string5);
        cat.document.writeln(string6);
        cat.document.writeln(string7);
        cat.document.writeln(string8);
        cat.document.writeln(string9);
        if(cat.focus){cat.focus();}
        return;
       }
    }
      leftposition=(screen.width)?(screen.width-width)/2:100;
      topposition=(screen.height)?(screen.height-height)/2:100;
      paramstp="height="+winheight+",width="+winwidth+",top="+topposition+
      ",left="+leftposition+",scrollbars=no,location=no"+
      ",directories=no,status=no,menubar=no,toolbar=no,resizable=no"
      cat=window.open("","cat",paramstp);
      string="<html><title>"+title+"</title><body topmargin=0 leftmargin=0 bgcolor=black>"
      string1="<div id=loadintxt style=position:absolute;width:100%;top:45%;text-align:center;visibility:visible;font-family:comic sans ms;font-size:16px;font-weight:bold>loading…</div>"
      string2="<div id=errtxt style=position:absolute;width:100%;top:45%;text-align:center;visibility:visible;font-family:comic sans ms;font-size:16px;color:red;font-weight:bold;visibility:hidden>error!!! please try again</div>"
      string3=<s+cript>+var animcolorindex=0;+
      colorarray=["#ffffff","#cccccc","#999999","#666666","#333333","#000000","#333333","#666666","#999999","#cccccc"];+
      function textlooping(){if(animcolorindex==10)animcolorindex=0;+
      loadintxt.style.color=colorarray[animcolorindex];+
      animcolorindex++;}animinterval=setinterval("textlooping()",200);
      string4=function erroccur(){clearinterval(animinterval);+
      "loadintxt.style.visibility=hidden;"+
      "errtxt.style.visibility=visible;}"+</s+cript>
      string5=<s+cript language="jav+ascript1.2">+
      function init(){clearinterval(animinterval);+
      "loadintxt.style.visibility=hidden;"+
      fltr.filters.item(0).apply();fltr.filters.item(0).play();+
      fltr.style.visibility="visible";}+</s+cript>;
      string6=<img id="fltr" style="filter:blendtrans(duration=5);visibility:hidden" src="+name+" border=0+
       width=+width+ height=+height+ onload="init()" onerror="erroccur()">+
      </b+ody></h+tml>;
      cat.document.writeln(string);
      cat.document.writeln(string1);
      cat.document.writeln(string2);
      cat.document.writeln(string3);
      cat.document.writeln(string4);
      cat.document.writeln(string5);
      cat.document.writeln(string6);

      x = y = step
      while (x | y)
      {
        cat.resizeby (x, y)
        if (cat.document.body.clientwidth >= width) x = 0
        if (cat.document.body.clientheight >= height) y = 0
      }
    if(cat.focus){cat.focus();}
    }

    function closecatwin()
    {if(cat!=null && cat.open)cat.close()}

    window.onfocus=closecatwin;

    //–>
    </script>

    <p> </p>
    <p> </p>
    <p align="center">

    <a href="" onclick="catswindows(http://www.chineseea.com/images/product/tn_002200920002.jpg,400,400,show product); return false" onfocus="this.blur()">放大图片</a>
    </p>
    </body>
    </html>

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 动态伸缩ie窗口(酷)(天乐原创)
分享到: 更多 (0)

相关推荐

  • 暂无文章