home *** CD-ROM | disk | FTP | other *** search
/ TV Spiel Film 1999 January 1999 / tvspielfilm0199.bin / pc / controlp.htt < prev    next >
Text File  |  1998-05-09  |  6KB  |  161 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.         body        {font: 8pt/10pt verdana; margin: 0}
  9.         #Banner        {position: absolute; width: 100%; height: 88px; background: URL(res://webvw.dll/folder.gif) no-repeat top left}
  10.         #MiniBanner    {position: absolute; width: 100%; height: 32px; background: window}
  11.         #Icon        {position: absolute; left: 11px; top: 12px; width: 64px; height: 64px}
  12.         #FileList    {position: absolute; left: 30%; top: 88px; width: 1px; height: 1px}
  13.         #Media        {margin-left: 20px; margin-top: 10px}
  14.         #Panel        {position: absolute; top: 88px; width: 30%; background: window; overflow: auto}
  15.         #PieChart    {width: 100px; height: 50px; margin-top: 10px}
  16.         #Thumbnail    {width: 160px; height: 160px; margin-top: 0px}
  17.         #Status        {margin-left: 20px}
  18.         p        {margin-left: 20px; margin-right: 8px}
  19.         p.Title        {font: 16pt/16pt verdana; font-weight: bold; color: #0099FF}
  20.         p.Warning    {font-weight: bold; color: red}
  21.         p.Links        {margin-top: 4px}
  22.         a:link        {color: #FF6633}
  23.         a:visited    {color: #0099FF}
  24.         a:active     {color: black}
  25.     </style>
  26.  
  27.     <head>
  28. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
  29.         <!-- allow references to any resources you might add to the folder -->
  30.         <!-- (a "webbot" is a special wrapper for FrontPage compatibility) -->
  31.         <!-- webbot bot="HTMLMarkup" tag="base" startspan -->
  32.         <base href="%THISDIRPATH%\">
  33.         <!-- webbot bot="HTMLMarkup" endspan -->
  34.  
  35.         <script language="JavaScript">
  36.             var L_Intro_Text    = "Markieren Sie ein Symbol, um seine Beschreibung anzuzeigen.";
  37.             var L_Multiple_Text    = " Objekte ausgew‰hlt.";
  38.  
  39.             function FixSize() {
  40.                 // this function handles fixed panel sizing and collapsing when the window resizes
  41.                 var hideTop    = 200;
  42.                 var hideLeft    = 400;
  43.                 var miniHeight    = 32;
  44.                 var ch        = document.body.clientHeight;
  45.                 var cw        = document.body.clientWidth;
  46.  
  47.                 if (hideTop > ch) {
  48.                     document.all.Banner.style.visibility = "hidden";
  49.                     document.all.MiniBanner.style.visibility = "visible";
  50.                     document.all.FileList.style.top = miniHeight;
  51.                     document.all.Panel.style.top = miniHeight;
  52.                 } else {
  53.                     document.all.Banner.style.visibility = "visible";
  54.                     document.all.MiniBanner.style.visibility = "hidden";
  55.                     document.all.FileList.style.top = (document.all.Banner.offsetHeight - 32) + "px";
  56.                     document.all.Panel.style.top = (document.all.Banner.offsetHeight) + "px";
  57.                     document.all.Rule.style.width = (cw > 84 ? cw - 84 : 0) + "px";      
  58.                 }
  59.                 if (hideLeft > cw) {
  60.                     document.all.Panel.style.visibility = "hidden";
  61.                     document.all.FileList.style.pixelLeft = 0;
  62.                     document.all.FileList.style.pixelTop = document.all.Panel.style.pixelTop;
  63.                 } else {
  64.                     document.all.Panel.style.visibility = "visible";
  65.                     document.all.FileList.style.pixelLeft = document.all.Panel.style.pixelWidth;
  66.                 }
  67.                 document.all.FileList.style.pixelWidth = cw - document.all.FileList.style.pixelLeft;
  68.                 document.all.FileList.style.pixelHeight = ch - document.all.FileList.style.pixelTop;
  69.                 document.all.Panel.style.pixelHeight = ch - document.all.Panel.style.pixelTop;
  70.             }
  71.  
  72.             function Init() {
  73.                 // call our FixSize() function whenever the window gets resized
  74.                 window.onresize = FixSize;
  75.                 FixSize();
  76.                 Info.innerHTML = L_Intro_Text;
  77.             }
  78.         </script>
  79.  
  80.         <script language="JavaScript" for="FileList" event="SelectionChanged">
  81.             // this script updates the left info panel when you select icons
  82.             var items    = FileList.FocusedItem;
  83.             var fldr    = FileList.Folder;
  84.             var data;
  85.             var i;
  86.  
  87.             data = FileList.SelectedItems().Count;
  88.             if (data == 0) {
  89.                 // nothing selected?
  90.                 Info.innerHTML = L_Intro_Text;
  91.                 return;
  92.             }
  93.             else if (data > 1) {
  94.                 // more than one item selected?
  95.                 text = data + L_Multiple_Text + "<br>";
  96.                 if (data <= 16)
  97.                     for (i = 0; i < data; i++)
  98.                         text += "<br>" + FileList.SelectedItems().Item(i).Name;
  99.                 Info.innerHTML = text;
  100.                 return;
  101.             }
  102.  
  103.             Info.innerHTML = "<b>" + fldr.GetDetailsOf(items, 0) + "</b><br>" + fldr.GetDetailsOf(items, 1);
  104.         </script>
  105.     </head>
  106.  
  107.     <body scroll=no onload="Init()">
  108.  
  109.         <!-- start normal banner -->
  110.         <div id="Banner" style="visibility: hidden">
  111.             <!-- using a table with nowrap to prevent word wrapping -->
  112.             <table><tr><td nowrap>
  113.                 <p class=Title style="margin-left: 104px; margin-top: 16px">
  114.                 <!--webbot bot="HTMLMarkup" startspan alt="<B><I>Web View Folder Title</I></B> " -->
  115.                 %THISDIRNAME%
  116.                 <!--webbot bot="HTMLMarkup" endspan -->
  117.             </td></tr></table>
  118.             <!-- this is more efficient than a long graphic, but we have to adjust it in FixSize() -->
  119.             <hr id="Rule" size=1px color=black style="position: absolute; top: 44px; left: 84px">
  120.             <!-- this is our awesome icon extractor -->
  121.             <object id=Icon classid="clsid:e5df9d10-3b52-11d1-83e8-00a0c90dc849">
  122.                 <param name="scale" value="200">
  123.             </object>
  124.         </div>
  125.         <!-- end normal banner -->
  126.  
  127.         <!-- start mini banner -->
  128.         <div id="MiniBanner" style="visibility: hidden">
  129.             <!-- using a table with nowrap to prevent word wrapping -->
  130.             <table><tr><td nowrap>
  131.                 <p class=Title style="margin-left: 16px; margin-top: 4px">
  132.                 <!--webbot bot="HTMLMarkup" startspan alt="<B><I>Web View Folder Title</I></B> " -->
  133.                 %THISDIRNAME%
  134.                 <!--webbot bot="HTMLMarkup" endspan -->
  135.             </td></tr></table>
  136.         </div>
  137.         <!-- end mini banner -->
  138.  
  139.         <!-- start left info panel -->
  140.         <div id="Panel">
  141.             <p style="margin-top: 16px");
  142.             <span id="Info">
  143.             </span>
  144.  
  145.             <p>
  146.             <a href="http://www.microsoft.com/germany">Microsoft-Homepage</a>
  147.             <p class=Links>
  148.             <a href="http://www.eu.microsoft.com/germany/support/">Technischer Support</a>
  149.         </div>
  150.         <!-- end left info panel -->
  151.  
  152.         <!-- this is the standard file list control -->
  153.         <!-- webbot bot="HTMLMarkup" startspan u-src="file:///C:\Program Files\Microsoft FrontPage Express\Data\FoldData.gif" -->
  154.         <object id="FileList" border=0 tabindex=1 classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2"
  155.         </object>
  156.         <!-- webbot bot="HTMLMarkup" endspan -->
  157.  
  158.     </body>
  159. </html>
  160.  
  161.