index.htm

来自「JScript网页特效,包含很多的实现网页特效的方法.」· HTM 代码 · 共 71 行

HTM
71
字号
<html>
<head>
<title>temp</title>
</head>
<body>

<OBJECT id=closes type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
    <param name="Command" value="Close">
</OBJECT>


<script language=javascript>

if (document.all)
{
  var wide = window.screen.availWidth;
  var high = window.screen.availHeight;
  if (wide==1024)
  {
    url = "main-ie1.htm";
  }
  else
  {
    url = "main-ie2.htm";
  } 
}


var speedX = 7;
var speedY = 5; 
var bgColor = "#000000";
var txtColor = "#FF80000";


function andBoom()
{
  if (document.all)
  {
    var mywin = window.open("","js100","fullscreen");
    mywin.document.write('<HTML><BODY BGCOLOR='+bgColor+' SCROLL=NO><FONT FACE=ARIAL COLOR='+txtColor+'>Loading...</FONT></BODY></HTML>');
    mywin.focus();
    for (H=1; H<high; H+= speedY)
    {
         mywin.resizeTo(1,H);
    }
    for (W=1; W<wide; W+= speedX)
    {
         mywin.resizeTo(W,H);
    }
    mywin.location = url;
  }  
  else
  {
    window.open(url,"myWindow","");
  }
}

if (document.all)
{
  andBoom();
  self.focus();
  closes.Click();
}
else
{
  window.location="main-ns.htm";
}
</script>

</body>
</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?