home *** CD-ROM | disk | FTP | other *** search
/ TV Spiel Film 1999 January 1999 / tvspielfilm0199.bin / pc / printers.htt < prev    next >
Text File  |  1998-05-09  |  7KB  |  184 lines

  1. <!-- 
  2.  * This file was automatically generated by Microsoft Internet Explorer 4.0 
  3.  * using the file %TEMPLATEDIR%\printers.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    = "Dieser Ordner enth‰lt Informationen ¸ber die aktuellen Drucker und einen Assistenten, der Sie bei der Installation von neuen Druckern unterst¸tzt.<br><br>Klicken Sie mit der rechten Maustaste auf ein Druckersymbol, um Informationen ¸ber einen bereits installierten Drucker zu erhalten.<br><br>Um einen neuen Drucker zu installieren, klicken Sie auf <b>Neuer Drucker,</b> um den Assistenten zum Hinzuf¸gen eines neuen Druckers zu starten.<br><br>Markieren Sie ein Symbol, um eine Beschreibung anzuzeigen.";
  37.             var L_Multiple_Text    = " Objekte ausgew‰hlt.";
  38.             var L_Help_Text        = "Der Assistent zum Hinzuf¸gen eines Druckers unterst¸tzt Sie beim Einrichten eines neuen Druckers. Folgen Sie einfach den Anweisungen auf dem Bildschirm.";
  39.  
  40.             function FixSize() {
  41.                 // this function handles fixed panel sizing and collapsing when the window resizes
  42.                 var hideTop    = 200;
  43.                 var hideLeft    = 400;
  44.                 var miniHeight    = 32;
  45.                 var ch        = document.body.clientHeight;
  46.                 var cw        = document.body.clientWidth;
  47.  
  48.                 if (hideTop > ch) {
  49.                     document.all.Banner.style.visibility = "hidden";
  50.                     document.all.MiniBanner.style.visibility = "visible";
  51.                     document.all.FileList.style.top = miniHeight;
  52.                     document.all.Panel.style.top = miniHeight;
  53.                 } else {
  54.                     document.all.Banner.style.visibility = "visible";
  55.                     document.all.MiniBanner.style.visibility = "hidden";
  56.                     document.all.FileList.style.top = (document.all.Banner.offsetHeight - 32) + "px";
  57.                     document.all.Panel.style.top = (document.all.Banner.offsetHeight) + "px";
  58.                     document.all.Rule.style.width = (cw > 84 ? cw - 84 : 0) + "px";      
  59.                 }
  60.                 if (hideLeft > cw) {
  61.                     document.all.Panel.style.visibility = "hidden";
  62.                     document.all.FileList.style.pixelLeft = 0;
  63.                     document.all.FileList.style.pixelTop = document.all.Panel.style.pixelTop;
  64.                 } else {
  65.                     document.all.Panel.style.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.  
  73.             function Init() {
  74.                 // call our FixSize() function whenever the window gets resized
  75.                 window.onresize = FixSize;
  76.                 FixSize();
  77.                 Info.innerHTML = L_Intro_Text;
  78.             }
  79.         </script>
  80.  
  81.         <script language="JavaScript" for="FileList" event="SelectionChanged">
  82.             // this script updates the left info panel when you select icons
  83.             var items    = FileList.FocusedItem;
  84.             var fldr    = FileList.Folder;
  85.             var data;
  86.             var text;
  87.             var i;
  88.  
  89.             data = FileList.SelectedItems().Count;
  90.             if (data == 0) {
  91.                 // nothing selected?
  92.                 Info.innerHTML = L_Intro_Text;
  93.                 return;
  94.             }
  95.             else if (data > 1) {
  96.                 // more than one item selected?
  97.                 text = data + L_Multiple_Text + "<br>";
  98.                 if (data <= 16)
  99.                     for (i = 0; i < data; i++)
  100.                         text += "<br>" + FileList.SelectedItems().Item(i).Name;
  101.                 Info.innerHTML = text;
  102.                 return;
  103.             }
  104.  
  105.             // name
  106.             text = "<b>" + items.Name + "</b>";
  107.  
  108.             // comment
  109.             data = fldr.GetDetailsOf(items, 3);
  110.             if (data)
  111.                 text += "<br>" + data;
  112.  
  113.             // documents
  114.             data = fldr.GetDetailsOf(items, 1);
  115.             if (data)
  116.                 text += "<br><br>" + fldr.GetDetailsOf(null, 1) + ": " + data;
  117.  
  118.             // status
  119.             data = fldr.GetDetailsOf(items, 2);
  120.             if (data)
  121.                 text += "<br><br><b><font color=red>" + data + "</font></b>";
  122.  
  123.             // tip?
  124.             data = fldr.GetDetailsOf(items, -1);
  125.             if (data != "" && data != items.Name)
  126.                 text += "<br><br>" + data;
  127.  
  128.             // help
  129.             if (fldr.GetDetailsOf(items, 0) == "WinUtils_NewObject")
  130.                 text += "<br><br>" + L_Help_Text;
  131.  
  132.             Info.innerHTML = text;
  133.         </script>
  134.     </head>
  135.  
  136.     <body scroll=no onload="Init()">
  137.  
  138.         <!-- start normal banner -->
  139.         <div id="Banner" style="visibility: hidden">
  140.             <!-- using a table with nowrap to prevent word wrapping -->
  141.             <table><tr><td nowrap>
  142.                 <p class=Title style="margin-left: 104px; margin-top: 16px">
  143.                 <!--webbot bot="HTMLMarkup" startspan alt="<B><I>Web View Folder Title</I></B> " -->
  144.                 %THISDIRNAME%
  145.                 <!--webbot bot="HTMLMarkup" endspan -->
  146.             </td></tr></table>
  147.             <!-- this is more efficient than a long graphic, but we have to adjust it in FixSize() -->
  148.             <hr id="Rule" size=1px color=black style="position: absolute; top: 44px; left: 84px">
  149.             <!-- this is our awesome icon extractor -->
  150.             <object id=Icon classid="clsid:e5df9d10-3b52-11d1-83e8-00a0c90dc849">
  151.                 <param name="scale" value="200">
  152.             </object>
  153.         </div>
  154.         <!-- end normal banner -->
  155.  
  156.         <!-- start mini banner -->
  157.         <div id="MiniBanner" style="visibility: hidden">
  158.             <!-- using a table with nowrap to prevent word wrapping -->
  159.             <table><tr><td nowrap>
  160.                 <p class=Title style="margin-left: 16px; margin-top: 4px">
  161.                 <!--webbot bot="HTMLMarkup" startspan alt="<B><I>Web View Folder Title</I></B> " -->
  162.                 %THISDIRNAME%
  163.                 <!--webbot bot="HTMLMarkup" endspan -->
  164.             </td></tr></table>
  165.         </div>
  166.         <!-- end mini banner -->
  167.  
  168.         <!-- start left info panel -->
  169.         <div id="Panel">
  170.             <p style="margin-top: 16px");
  171.             <span id="Info">
  172.             </span>
  173.         </div>
  174.         <!-- end left info panel -->
  175.  
  176.         <!-- this is the standard file list control -->
  177.         <!-- webbot bot="HTMLMarkup" startspan u-src="file:///C:\Program Files\Microsoft FrontPage Express\Data\FoldData.gif" -->
  178.         <object id="FileList" border=0 tabindex=1 classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2"
  179.         </object>
  180.         <!-- webbot bot="HTMLMarkup" endspan -->
  181.  
  182.     </body>
  183. </html>
  184.