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

  1. <!-- 
  2.  * This file was automatically generated by Microsoft Internet Explorer 4.0 
  3.  * using the file %TEMPLATEDIR%\controlp.htt
  4.  -->
  5.  
  6. <html>
  7.    <style>
  8.       a:link      {font: 8pt/10pt verdana; color: #FF6633}
  9.       a:visited   {font: 8pt/10pt verdana; color: #0099FF}
  10.       a:active    {font: 8pt/10pt verdana; color: black}
  11.    </style>
  12.  
  13.    <head>
  14. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250">
  15.       <script language="JavaScript" for="FileList" event="SelectionChanged">
  16.          var items = FileList.FocusedItem;
  17.          var fldr  = FileList.Folder;
  18.  
  19.          SPAN1.innerHTML = "<b>" + fldr.GetDetailsOf(items, 0) + "</b><br>" + fldr.GetDetailsOf(items, 1);
  20.       </script>
  21.  
  22.       <script>
  23.          function fixSize() {
  24.             var hideTop = 200
  25.             var hideLeft = 400
  26.             var ch = document.body.clientHeight
  27.             var cw = document.body.clientWidth
  28.             if (hideTop > ch) {
  29.                document.all.heading.visibility = "hidden"
  30.                document.all.FileList.style.pixelTop = 0
  31.                document.all.panel.style.pixelTop = 0
  32.             } else {
  33.                document.all.heading.visibility = "visible"
  34.                document.all.FileList.style.top = (document.all.heading.offsetHeight - 32) + "px"
  35.                document.all.panel.style.top = (document.all.heading.offsetHeight) + "px"
  36.                document.all.rule.style.width = (cw - 84) + "px"        
  37.             }
  38.             if (hideLeft > cw) {
  39.                document.all.panel.visibility = "hidden"
  40.                document.all.FileList.style.pixelLeft = 0
  41.                document.all.FileList.style.pixelTop = document.all.panel.style.pixelTop
  42.             } else {
  43.                document.all.panel.visibility = "visible"
  44.                document.all.FileList.style.pixelLeft = document.all.panel.style.pixelWidth
  45.             }
  46.             document.all.FileList.style.pixelWidth = cw - document.all.FileList.style.pixelLeft
  47.             document.all.FileList.style.pixelHeight = ch - document.all.FileList.style.pixelTop
  48.             document.all.panel.style.pixelHeight = ch - document.all.panel.style.pixelTop
  49.          }
  50.       </script>
  51.    </head>
  52.  
  53.    <body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0 scroll=no onload="fixSize()">
  54.       <div ID="heading" style="position: absolute; width: 100%; height: 88px; background: URL(res://webvw.dll/controlp.gif) no-repeat">
  55.          <p style="margin-left: 80px; padding-left: 20px; margin-top: 16px">
  56.          <table>
  57.             <tr>
  58.                <td nowrap>
  59.                   <font style="font: 16pt/16pt verdana; font-weight: bold; color: #0099FF">
  60.                      %THISDIRNAME%
  61.                   </font>
  62.                </td>
  63.             </tr>
  64.          </table>
  65.          <hr ID="rule" style="position: absolute; top: 44px; left: 84px" size=1px color=black>
  66.       </div>
  67.  
  68.       <div ID="panel" style="position: absolute; top: 88px; width: 30%; background: window; overflow: auto">
  69.          <p style="margin-left: 20px; margin-top: 8px; margin-right: 8px">
  70.          <font style="font: 8pt/10pt verdana; font-weight: normal; color: text">
  71.             <span id="SPAN1">
  72.                Zaznacz ikonΩ, aby zobaczyµ jej opis.
  73.             </span>
  74.             <br><br>
  75.          </font>
  76.          <font style="font: 8pt/10pt verdana; font-weight: bold; color: background">
  77.             <a href="http://www.microsoft.com/poland/">Witryna sieci Web firmy Microsoft</a><br>
  78.             <a href="http://www.microsoft.com/ie_intl/pl/support/">Obs│uga techniczna</a>
  79.          </font>
  80.       </div>
  81.  
  82.       <object id="FileList" border=0 tabindex=1
  83.          classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2"
  84.          style="position: absolute; left: 30%; top: 88px; width: 70%; height: 100%">
  85.       </object>
  86.  
  87.       <script language="JavaScript">
  88.          window.onresize = fixSize;
  89.       </script>
  90.    </body>
  91. </html>
  92.  
  93.