home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 May
/
Chip_1999-05_cd.bin
/
zkuste
/
MSIE5
/
ie4shlnt.cab
/
mycomp.htt
< prev
next >
Wrap
Text File
|
1999-01-29
|
7KB
|
180 lines
<!--
* This file was automatically generated by Microsoft Internet Explorer 4.0
* using the file %TEMPLATEDIR%\mycomp.htt
-->
<html>
<style>
body {font: 8pt/10pt verdana; margin: 0}
#Banner {position: absolute; width: 100%; height: 88px; background: URL(res://webvw.dll/folder.gif) no-repeat top left}
#MiniBanner {position: absolute; width: 100%; height: 32px; background: window}
#Icon {position: absolute; left: 11px; top: 12px; width: 64px; height: 64px}
#FileList {position: absolute; left: 30%; top: 88px; width: 1px; height: 1px}
#Media {margin-left: 20px; margin-top: 10px}
#Panel {position: absolute; top: 88px; width: 30%; background: window; overflow: auto}
#PieChart {width: 100px; height: 50px; margin-top: 10px}
#Thumbnail {width: 160px; height: 160px; margin-top: 0px}
#Status {margin-left: 20px}
p {margin-left: 20px; margin-right: 8px}
p.Title {font: 16pt/16pt verdana; font-weight: bold; color: #0099FF}
p.Warning {font-weight: bold; color: red}
p.Links {margin-top: 4px}
a:link {color: #FF6633}
a:visited {color: #0099FF}
a:active {color: black}
</style>
<head>
<script language="JavaScript">
var L_Intro_Text = "Select an icon to view its description.";
var L_Multiple_Text = " objects selected.";
var L_TotalSize_Text = "Capacity: ";
var L_UsedSpace_Text = "Used: ";
var L_FreeSpace_Text = "Free: ";
function FixSize() {
// this function handles fixed panel sizing and collapsing when the window resizes
var hideTop = 200;
var hideLeft = 400;
var miniHeight = 32;
var ch = document.body.clientHeight;
var cw = document.body.clientWidth;
if (hideTop > ch) {
document.all.Banner.style.visibility = "hidden";
document.all.MiniBanner.style.visibility = "visible";
document.all.FileList.style.top = miniHeight;
document.all.Panel.style.top = miniHeight;
} else {
document.all.Banner.style.visibility = "visible";
document.all.MiniBanner.style.visibility = "hidden";
document.all.FileList.style.top = (document.all.Banner.offsetHeight - 32) + "px";
document.all.Panel.style.top = (document.all.Banner.offsetHeight) + "px";
document.all.Rule.style.width = (cw > 84 ? cw - 84 : 0) + "px";
}
if (hideLeft > cw) {
document.all.Panel.style.visibility = "hidden";
document.all.FileList.style.pixelLeft = 0;
document.all.FileList.style.pixelTop = document.all.Panel.style.pixelTop;
} else {
document.all.Panel.style.visibility = "visible";
document.all.FileList.style.pixelLeft = document.all.Panel.style.pixelWidth;
}
document.all.FileList.style.pixelWidth = cw - document.all.FileList.style.pixelLeft;
document.all.FileList.style.pixelHeight = ch - document.all.FileList.style.pixelTop;
document.all.Panel.style.pixelHeight = ch - document.all.Panel.style.pixelTop;
}
function Init() {
// call our FixSize() function whenever the window gets resized
window.onresize = FixSize;
FixSize();
Info.innerHTML = L_Intro_Text;
}
</script>
<script language="JavaScript" for="FileList" event="SelectionChanged">
// this script updates the left info Panel when you select icons
var items = FileList.FocusedItem;
var fldr = FileList.Folder;
var name;
var text;
var data;
var i;
PieChart.style.display = "none";
data = FileList.SelectedItems().Count;
if (data == 0) {
// nothing selected?
Info.innerHTML = L_Intro_Text;
return;
}
else if (data > 1) {
// more than one item selected?
text = data + L_Multiple_Text + "<br>";
if (data <= 16)
for (i = 0; i < data; i++)
text += "<br>" + FileList.SelectedItems().Item(i).Name;
Info.innerHTML = text;
return;
}
// name
name = fldr.GetDetailsOf(items, 0);
text = "<b>" + name + "</b><br>";
// type
text += fldr.GetDetailsOf(items, 1);
// tip?
data = fldr.GetDetailsOf(items, -1);
if (data && data != name)
text += "<br><br>" + data;
// drive
if (PieChart.displayFile(items.Path)) {
text += "<br><br><br>" + L_TotalSize_Text + PieChart.totalSpace;
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;
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;
PieChart.style.display = "";
}
Info.innerHTML = text;
</script>
</head>
<body scroll=no onload="Init()">
<!-- start normal banner -->
<div id="Banner" style="visibility: hidden">
<!-- using a table with nowrap to prevent word wrapping -->
<table><tr><td nowrap>
<p class=Title style="margin-left: 104px; margin-top: 16px">
<!--webbot bot="HTMLMarkup" startspan alt="<B><I>Web View Folder Title</I></B> " -->
%THISDIRNAME%
<!--webbot bot="HTMLMarkup" endspan -->
</td></tr></table>
<!-- this is more efficient than a long graphic, but we have to adjust it in FixSize() -->
<hr id="Rule" size=1px color=black style="position: absolute; top: 44px; left: 84px">
<!-- this is our awesome icon extractor -->
<object id=Icon classid="clsid:e5df9d10-3b52-11d1-83e8-00a0c90dc849">
<param name="scale" value=200>
</object>
</div>
<!-- end normal banner -->
<!-- start mini banner -->
<div id="MiniBanner" style="visibility: hidden">
<!-- using a table with nowrap to prevent word wrapping -->
<table><tr><td nowrap>
<p class=Title style="margin-left: 16px; margin-top: 4px">
<!--webbot bot="HTMLMarkup" startspan alt="<B><I>Web View Folder Title</I></B> " -->
%THISDIRNAME%
<!--webbot bot="HTMLMarkup" endspan -->
</td></tr></table>
</div>
<!-- end mini banner -->
<!-- start left info panel -->
<div id="Panel">
<p style="margin-top: 16px");
<span id="Info">
</span>
<p>
<object id="PieChart" classid="clsid:1D2B4F40-1F10-11D1-9E88-00C04FDCAB92" style="display: none">
</object>
</div>
<!-- end left info panel -->
<!-- this is the standard file list control -->
<!-- webbot bot="HTMLMarkup" startspan u-src="file:///C:\Program Files\Microsoft FrontPage Express\Data\FoldData.gif" -->
<object id="FileList" border=0 tabindex=1 classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2"
</object>
<!-- webbot bot="HTMLMarkup" endspan -->
</body>
</html>