home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / tools / ie40 / pl / packages / ie4shl95.cab / mycomp.htt < prev    next >
Text File  |  1997-09-14  |  5KB  |  114 lines

  1. <!-- 
  2.  * This file was automatically generated by Microsoft Internet Explorer 4.0 
  3.  * using the file %TEMPLATEDIR%\mycomp.htt 
  4.  -->
  5.  
  6. <html>
  7.    <head>
  8. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250">
  9.       <script language="JavaScript" for="FileList" event="SelectionChanged">
  10.          var L_TotalSize_Text = "Ca│kowity rozmiar:";
  11.          var L_UsedSpace_Text = "U┐ywane: ";
  12.          var L_FreeSpace_Text = "Wolny obszar: ";
  13.          var items            = FileList.FocusedItem;
  14.          var fldr             = FileList.Folder;
  15.          var text;
  16.          var data;
  17.  
  18.          // name
  19.          text = "<b>" + fldr.GetDetailsOf(items, 0) + "</b><br>";
  20.  
  21.          // type
  22.          text += fldr.GetDetailsOf(items, 1);
  23.  
  24.          // tip?
  25.          data = fldr.GetDetailsOf(items, -1);
  26.          if (data != "" && data != name)
  27.             text += "<br><br>" + data;
  28.  
  29.          // drive
  30.          if (PieChart.displayFile(items.Path)) {
  31.             text += "<br><br><br>" + L_TotalSize_Text + PieChart.totalSpace;
  32.             text += "<br><br><table bgcolor=buttonface width=12 height=12 border=1 bordercolordark=black bordercolorlight=black align=left><td></td></table> " + L_UsedSpace_Text + PieChart.usedSpace;
  33.             text += "<br><br><table bgcolor=buttonhighlight width=12 height=12 border=1 bordercolordark=black bordercolorlight=black align=left><td></td></table> " + L_FreeSpace_Text + PieChart.freeSpace;
  34.             PieChart.style.display = "";
  35.          }
  36.          else
  37.             PieChart.style.display = "none";
  38.  
  39.          SPAN1.innerHTML = text;
  40.       </script>
  41.  
  42.       <script>
  43.          function fixSize() {
  44.             var hideTop = 200
  45.             var hideLeft = 400
  46.             var ch = document.body.clientHeight
  47.             var cw = document.body.clientWidth
  48.             if (hideTop > ch) {
  49.                document.all.heading.visibility = "hidden"
  50.                document.all.FileList.style.pixelTop = 0
  51.                document.all.panel.style.pixelTop = 0
  52.             } else {
  53.                document.all.heading.visibility = "visible"
  54.                document.all.FileList.style.top = (document.all.heading.offsetHeight - 32) + "px"
  55.                document.all.panel.style.top = (document.all.heading.offsetHeight) + "px"
  56.                document.all.rule.style.width = (cw - 84) + "px"        
  57.             }
  58.             if (hideLeft > cw) {
  59.                document.all.panel.visibility = "hidden"
  60.                document.all.FileList.style.pixelLeft = 0
  61.                document.all.FileList.style.pixelTop = document.all.panel.style.pixelTop;
  62.             } else {
  63.                document.all.panel.visibility = "visible"
  64.                document.all.FileList.style.pixelLeft = document.all.panel.style.pixelWidth
  65.             }
  66.             document.all.FileList.style.pixelWidth = cw - document.all.FileList.style.pixelLeft
  67.             document.all.FileList.style.pixelHeight = ch - document.all.FileList.style.pixelTop
  68.             document.all.panel.style.pixelHeight = ch - document.all.panel.style.pixelTop
  69.          }
  70.       </script>
  71.    </head>
  72.  
  73.    <body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0 scroll=no onload="fixSize()">
  74.       <div ID="heading" style="position: absolute; width: 100%; height: 88px; background: URL(res://webvw.dll/mycomp.gif) no-repeat">
  75.          <p style="margin-left: 80px; padding-left: 20px; margin-top: 16px">
  76.          <table>
  77.             <tr>
  78.                <td nowrap>
  79.                   <font style="font: 16pt/16pt verdana; font-weight: bold; color: #0099FF">
  80.                      <!--webbot bot="HTMLMarkup" startspan alt="<B><I>Web View Folder Title</I></B> " -->
  81.                      %THISDIRNAME%
  82.                      <!--webbot bot="HTMLMarkup" endspan -->
  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.                Zaznacz ikonΩ, aby zobaczyµ jej opis.
  95.             </span>
  96.             <br><br><br>
  97.             <object id="PieChart"
  98.                classid="clsid:1D2B4F40-1F10-11D1-9E88-00C04FDCAB92"
  99.                style="width: 100px; height: 50px; display: none">
  100.             </object>
  101.          </font>
  102.       </div>
  103.  
  104.       <object id="FileList" border=0 tabindex=1
  105.          classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2"
  106.          style="position: absolute; left: 30%; top: 88px; width: 70%; height: 100%">
  107.       </object>
  108.  
  109.       <script language="JavaScript">
  110.          window.onresize = fixSize;
  111.       </script>
  112.    </body>
  113. </html>
  114.