home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_03.cab / iisnew.asp < prev    next >
Text File  |  1997-11-12  |  2KB  |  105 lines

  1. <%@ LANGUAGE=VBScript %>
  2. <% Option Explicit %>
  3. <% Response.Expires = 0 %>
  4.  
  5.  
  6. <%
  7.  
  8. Const L_NOCOOKIES_TEXT = "Your browser does not allow cookies. "
  9. Const L_TURNONCOOKIES_TEXT = "Cookies must be enabled in order to use Internet Service Manager (HTML). Please adjust your browser settings, and "
  10. Const L_CLICKHERE_TEXT = "click here."
  11.  
  12. %>
  13. <html>
  14.  
  15.  
  16.  
  17. <head>
  18.  
  19.  
  20. <title>Microsoft Internet Service Manager</title>
  21.  
  22. </head>
  23.  
  24. <body bgcolor="#000000" text="#FFFFFF" link="#FFCC00" vlink="#FFCC00" alink="#FFCC00"topmargin="0" leftmargin="0" style="font-family: Helv,Arial; font-size: 10pt;">
  25. <img src="images/iisttl.gif">
  26.  
  27. <% if Session("Browser") <> "" then%>
  28.  
  29. <table cellpadding="0" >
  30. <tr>
  31.     <td width = 190> 
  32.     </td>
  33.     <td width = 400>
  34.     <form name="userform" action="default.asp">
  35.     <FONT FACE="HELV,ARIAL" SIZE = 1>
  36.  
  37.     <% if Session("IsIE")then %>
  38.         <script language="JavaScript">
  39.             // Determine the version number.
  40.             var version;
  41.             var requiredVersion=2;
  42.             if (typeof(ScriptEngineMajorVersion) + ""=="undefined"){
  43.                 version=1;
  44.             }
  45.             else{
  46.                 version=ScriptEngineMajorVersion();
  47.                 // Prompt client and navigate to download page.
  48.                 if (version < requiredVersion){
  49.                 }
  50.             }
  51.         </script>
  52.     <% end if %>
  53.      
  54.     <P>
  55.     <FONT FACE="HELV,ARIAL" SIZE = 3>Please select your system font size:</FONT><p>
  56.     <p>
  57.     Choose <a href="javascript:SetSize('LARGE');"><b>Large</b></a> if the
  58.     text in the following box wraps.<br>
  59.     Otherwise, choose <a href="javascript:SetSize('SMALL');"><b>Small</b></a>.
  60.  
  61.     <p>
  62.     <table width="110" border="1" cellpadding="3">
  63.         <tr>
  64.             <td width="110">
  65.                 <FONT FACE="HELV,ARIAL" SIZE = 1>
  66.                     Does this text wrap?
  67.                 </FONT>
  68.             </td>
  69.         </tr>
  70.     </table>    
  71.     <p>
  72.     </font>
  73.     </form>
  74.     </td>
  75. </tr>
  76. </table>
  77.  
  78. <% else %>
  79.     
  80. <table cellpadding="0" >
  81. <tr>
  82.     <td width = 190> 
  83.     </td>
  84.     <td width = 400>
  85.     <FONT FACE="HELV,ARIAL" SIZE = 1>
  86.      
  87.     <P>
  88.     <FONT FACE="HELV,ARIAL" SIZE = 1 COLOR="RED">
  89.     <%= L_NOCOOKIES_TEXT %>
  90.     </FONT>
  91.     <P>
  92.     <%= L_TURNONCOOKIES_TEXT %><A HREF="default.asp"><%= L_CLICKHERE_TEXT %></A>
  93. </tr>
  94. </table>    
  95. <% end if %>
  96.  
  97. </body>
  98.  
  99. <script language="JavaScript">
  100.     function SetSize(sel){
  101.         self.location.href="default.asp?FONTSIZE=" + sel;
  102.     }
  103. </script>
  104.  
  105. </html>