home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hráč 1997 December
/
Hrac_16_1997-12_cd.bin
/
UTILS
/
Ie40
/
ie4shlnt.CAB
/
mycomp.htt
< prev
next >
Wrap
Text File
|
1997-09-18
|
5KB
|
113 lines
<!--
* This file was automatically generated by Microsoft Internet Explorer 4.0
* using the file %TEMPLATEDIR%\mycomp.htt
-->
<html>
<head>
<script language="JavaScript" for="FileList" event="SelectionChanged">
var L_TotalSize_Text = "Capacity: ";
var L_UsedSpace_Text = "Used: ";
var L_FreeSpace_Text = "Free: ";
var items = FileList.FocusedItem;
var fldr = FileList.Folder;
var text;
var data;
// name
text = "<b>" + fldr.GetDetailsOf(items, 0) + "</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 = "";
}
else
PieChart.style.display = "none";
SPAN1.innerHTML = text;
</script>
<script>
function fixSize() {
var hideTop = 200
var hideLeft = 400
var ch = document.body.clientHeight
var cw = document.body.clientWidth
if (hideTop > ch) {
document.all.heading.visibility = "hidden"
document.all.FileList.style.pixelTop = 0
document.all.panel.style.pixelTop = 0
} else {
document.all.heading.visibility = "visible"
document.all.FileList.style.top = (document.all.heading.offsetHeight - 32) + "px"
document.all.panel.style.top = (document.all.heading.offsetHeight) + "px"
document.all.rule.style.width = (cw - 84) + "px"
}
if (hideLeft > cw) {
document.all.panel.visibility = "hidden"
document.all.FileList.style.pixelLeft = 0
document.all.FileList.style.pixelTop = document.all.panel.style.pixelTop;
} else {
document.all.panel.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
}
</script>
</head>
<body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0 scroll=no onload="fixSize()">
<div ID="heading" style="position: absolute; width: 100%; height: 88px; background: URL(res://webvw.dll/mycomp.gif) no-repeat">
<p style="margin-left: 80px; padding-left: 20px; margin-top: 16px">
<table>
<tr>
<td nowrap>
<font style="font: 16pt/16pt verdana; font-weight: bold; color: #0099FF">
<!--webbot bot="HTMLMarkup" startspan alt="<B><I>Web View Folder Title</I></B> " -->
%THISDIRNAME%
<!--webbot bot="HTMLMarkup" endspan -->
</font>
</td>
</tr>
</table>
<hr ID="rule" style="position: absolute; top: 44px; left: 84px" size=1px color=black>
</div>
<div ID="panel" style="position: absolute; top: 88px; width: 30%; background: window; overflow: auto">
<p style="margin-left: 20px; margin-top: 8px; margin-right: 8px">
<font style="font: 8pt/10pt verdana; font-weight: normal; color: text">
<span id="SPAN1">
Select an icon to view its description.
</span>
<br><br><br>
<object id="PieChart"
classid="clsid:1D2B4F40-1F10-11D1-9E88-00C04FDCAB92"
style="width: 100px; height: 50px; display: none">
</object>
</font>
</div>
<object id="FileList" border=0 tabindex=1
classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2"
style="position: absolute; left: 30%; top: 88px; width: 70%; height: 100%">
</object>
<script language="JavaScript">
window.onresize = fixSize;
</script>
</body>
</html>