default.hta
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 2k
Category:

Windows Kernel

Development Platform:

Visual C++

  1. <HTML>
  2. <HEAD>
  3. <TITLE>Windows 2000 Configure Your Server</TITLE>
  4. <SCRIPT LANGUAGE="javascript" SRC="util.js"></SCRIPT>
  5. <SCRIPT LANGUAGE="javascript">
  6.     // whether the machine is a DC in the middle of upgrade
  7.     var fInUpgrade = srvwiz.DsRole(1);
  8.     if (fInUpgrade)
  9.     {
  10.         // Don't show CYS during DC purgatory
  11.         // this is a mshta work around:
  12.         // set window initial size to 0x0 to avoid flash, 
  13.         // then close the window after hta tag
  14.         window.resizeTo(0,0);
  15.     }
  16.     else
  17.     {
  18.         // set the window's initial size and position
  19.         var x = (window.screen.width - 636)/2;
  20.         var y = (window.screen.height - 450)/2;
  21.         if (x < 0) x = 0;
  22.         if (y < 0) y = 0;
  23.         window.resizeTo(636,450);
  24.         window.moveTo(x, y);
  25.     }
  26. </SCRIPT>
  27. <HTA:APPLICATION
  28.      id=SrvWizApp
  29.      icon=srvwiz.ico
  30.      maximizeButton=no
  31.      border=dialog
  32.      applicationName="Windows 2000 Configure Your Server" 
  33.      version=1.0
  34.      singleInstance=yes
  35. />
  36. <SCRIPT LANGUAGE="javascript">
  37.     if (fInUpgrade)
  38.     {
  39.         window.close();
  40.     }
  41. </SCRIPT>
  42. </HEAD>
  43. <frameset id=idFS1 rows="75,*" border=0 frameborder=0>
  44.     <frame id=idFM1 NAME="top" SRC="top.htm" marginWIDTH="0" marginHEIGHT="0" scrolling="no" frameBORDER="no" noresize />
  45.     <frameset id=idFS2 cols="165,*" border=0 frameborder=0 onload="home()">
  46.         <frame id=idFM2 NAME="menu" SRC="menu.htm" marginWIDTH="0" marginHEIGHT="0" scrolling="no" frameBORDER="no" noresize application=yes />
  47.         <frame id=idFM3 NAME="content" marginWIDTH="0" marginHEIGHT="0" scrolling="auto" frameBORDER="no" noresize application=yes />
  48.     </frameset>
  49. </frameset>
  50. </HTML>