home *** CD-ROM | disk | FTP | other *** search
/ What the Doctor Required - The Freshest December / December.iso / windows / mem1577.pe / printers.htt < prev    next >
Encoding:
Text File  |  1997-08-28  |  4.5 KB  |  113 lines

  1. <!-- 
  2.  * This file was automatically generated by Microsoft Internet Explorer 4.0 
  3.  * using the file res://webvw.dll/printers.htt 
  4.  -->
  5.  
  6. <html>
  7.    <head>
  8.       <script language="JavaScript" for="FileList" event="SelectionChanged">
  9.          var L_Help_Text = "The Add Printer wizard walks you step-by-step through installing a printer.  Just follow the instructions on each screen.";
  10.          var items       = FileList.FocusedItem;
  11.          var fldr        = FileList.Folder;
  12.          var data;
  13.          var text;
  14.  
  15.          // name
  16.          text = "<b>" + items.Name + "</b>";
  17.  
  18.          // comment
  19.          data = fldr.GetDetailsOf(items, 3);
  20.          if (data != "")
  21.             text += "<br>" + data;
  22.  
  23.          // documents
  24.          data = fldr.GetDetailsOf(items, 1);
  25.          if (data != "")
  26.             text += "<br><br>" + fldr.GetDetailsOf(null, 1) + ": " + data;
  27.  
  28.          // status
  29.          data = fldr.GetDetailsOf(items, 2);
  30.          if (data != "")
  31.             text += "<br><br><b><font color=red>" + data + "</font></b>";
  32.  
  33.          // tip?
  34.          data = fldr.GetDetailsOf(items, -1);
  35.          if (data != "" && data != name)
  36.             text += "<br><br>" + data;
  37.  
  38.          // help
  39.          if (fldr.GetDetailsOf(items, 0) == "WinUtils_NewObject")
  40.             text += "<br><br>" + L_Help_Text;
  41.  
  42.          SPAN1.innerHTML = text;
  43.       </script>
  44.  
  45.       <script>
  46.          function fixSize() {
  47.             var hideTop = 200
  48.             var hideLeft = 400
  49.             var ch = document.body.clientHeight
  50.             var cw = document.body.clientWidth
  51.             if (hideTop > ch || hideLeft > cw) {
  52.                document.all.heading.visibility = "hidden"
  53.                document.all.FileList.style.pixelTop = 0
  54.                document.all.panel.style.pixelTop = 0
  55.             } else {
  56.                document.all.heading.visibility = "visible"
  57.                document.all.FileList.style.top = (document.all.heading.offsetHeight - 32) + "px"
  58.                document.all.panel.style.top = (document.all.heading.offsetHeight) + "px"
  59.                document.all.rule.style.width = (cw - 84) + "px"        
  60.             }
  61.             if (hideLeft > cw) {
  62.                document.all.panel.visibility = "hidden"
  63.                document.all.FileList.style.pixelLeft = 0
  64.             } else {
  65.                document.all.panel.visibility = "visible"
  66.                document.all.FileList.style.pixelLeft = document.all.panel.style.pixelWidth 
  67.             }
  68.             document.all.FileList.style.pixelWidth = cw - document.all.FileList.style.pixelLeft
  69.             document.all.FileList.style.pixelHeight = ch - document.all.FileList.style.pixelTop
  70.             document.all.panel.style.pixelHeight = ch - document.all.panel.style.pixelTop
  71.          }
  72.       </script>
  73.    </head>
  74.  
  75.    <body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0 scroll=no onload="fixSize()">
  76.       <div ID="heading" style="position: absolute; width: 100%; height: 88px; background: URL(res://webvw.dll/printers.gif) no-repeat">
  77.          <p style="margin-left: 80px; padding-left: 20px; margin-top: 16px">
  78.          <table>
  79.             <tr>
  80.                <td nowrap>
  81.                   <font style="font: 16pt/16pt verdana; font-weight: bold; color: #0099FF">
  82.                      %THISDIRNAME%
  83.                   </font>
  84.                </td>
  85.             </tr>
  86.          </table>
  87.          <hr ID="rule" style="position: absolute; top: 44px; left: 84px" size=1px color=black>
  88.       </div>
  89.  
  90.       <div ID="panel" style="position: absolute; top: 88px; width: 30%; background: window; overflow: auto">
  91.          <p style="margin-left: 20px; margin-top: 8px; margin-right: 8px">
  92.          <font style="font: 8pt/10pt verdana; font-weight: normal; color: text">
  93.             <span id="SPAN1">
  94.                This folder contains information about your current printers and a wizard to help you install new ones.
  95.                <br><br>
  96.                To get information about a printer that's already installed, right-click the printer's icon.
  97.                <br><br>
  98.                To install a new printer, click Add Printer to start the Add Printer wizard.
  99.             </span>
  100.          </font>
  101.       </div>
  102.  
  103.       <object id="FileList" border=0 tabindex=1
  104.          classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2"
  105.          style="position: absolute; left: 30%; top: 88px; width: 70%; height: 100%">
  106.       </object>
  107.  
  108.       <script language="JavaScript">
  109.          window.onresize = fixSize;
  110.       </script>
  111.    </body>
  112. </html>
  113.