mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
146 lines
5.8 KiB
146 lines
5.8 KiB
<html>
|
|
<HEAD>
|
|
<script language=jscript>
|
|
var gOOBEDir = "file://" + window.external.API.get_SystemDirectory() + "\\oobe\\";
|
|
var NMAX_STATUS_ITEM = 8;
|
|
|
|
var g_ArrayOrigItemText = new Array(NMAX_STATUS_ITEM+1);
|
|
|
|
function AddStatusItem(text, i)
|
|
{
|
|
// Status item starts at 1
|
|
if((i >= 1) && (i <= NMAX_STATUS_ITEM))
|
|
{
|
|
text = text + "<br><br>";
|
|
|
|
tblStatus.rows(i).cells(0).innerHTML = text;
|
|
tblStatus.rows(i).cells(0).style.visibility = "visible";
|
|
tblStatus.rows(i).cells(1).style.visibility = "visible";
|
|
|
|
g_ArrayOrigItemText[i]=text;
|
|
}
|
|
}
|
|
|
|
function RedrawForNewCurrentItem(NewCurIdx)
|
|
{
|
|
// tblStatus.style.display="none";
|
|
for(i=1;i<=NMAX_STATUS_ITEM;i++)
|
|
{
|
|
if(i<NewCurIdx)
|
|
{
|
|
// tblStatus.rows(i).cells(0).style.color="white";
|
|
if(window.top.screen.width > 800)
|
|
{tblStatus.rows(i).cells(0).style.fontSize="13pt";}
|
|
else
|
|
{tblStatus.rows(i).cells(0).style.fontSize="11pt";}
|
|
|
|
tblStatus.rows(i).cells(0).style.fontWeight="bold";
|
|
tblStatus.rows(i).cells(0).style.color="#ba08a3";
|
|
tblStatus.rows(i).cells(0).innerHTML = g_ArrayOrigItemText[i];
|
|
}
|
|
else if(i==NewCurIdx)
|
|
{
|
|
// prefix w/arrow ptr
|
|
tblStatus.rows(i).cells(0).innerHTML = "<IMG SRC='statuspt.gif' border=0>" + tblStatus.rows(i).cells(0).innerHTML;
|
|
|
|
// tblStatus.rows(i).cells(0).style.color="#F4C217";
|
|
if(window.top.screen.width > 800)
|
|
{tblStatus.rows(i).cells(0).style.fontSize="13pt";}
|
|
else
|
|
{tblStatus.rows(i).cells(0).style.fontSize="11pt";}
|
|
tblStatus.rows(i).cells(0).style.fontWeight="bold";
|
|
tblStatus.rows(i).cells(0).style.color="orange";
|
|
}
|
|
else
|
|
{
|
|
// tblStatus.rows(i).cells(0).style.color="#9AC1F4";
|
|
if(window.top.screen.width > 800)
|
|
{tblStatus.rows(i).cells(0).style.fontSize="13pt";}
|
|
else
|
|
{tblStatus.rows(i).cells(0).style.fontSize="11pt";}
|
|
tblStatus.rows(i).cells(0).style.fontWeight="bold";
|
|
tblStatus.rows(i).cells(0).style.color="navy";
|
|
tblStatus.rows(i).cells(0).innerHTML = g_ArrayOrigItemText[i];
|
|
}
|
|
}
|
|
//tblStatus.style.display="inline";
|
|
}
|
|
|
|
function LoadStatusPane()
|
|
{
|
|
if (imgStatusBackground)
|
|
{
|
|
if(window.top.screen.width > 800)
|
|
{
|
|
imgStatusBackground.src=gOOBEDir +'images/back4.jpg';
|
|
}
|
|
else
|
|
{
|
|
imgStatusBackground.src=gOOBEDir +'images/back4a.jpg';
|
|
}
|
|
|
|
imgStatusBackground.style.visibility = "visible";
|
|
}
|
|
|
|
if(window.top.screen.width > 800) {
|
|
spnStatDividerBar.style.left=240; //230 before
|
|
}
|
|
}
|
|
</script>
|
|
</HEAD>
|
|
|
|
<BODY ONLOAD="LoadStatusPane()" TEXT=#555FAA TOPMARGIN=0 LEFTMARGIN=0>
|
|
<img ID=imgStatusBackground style="visibility:hidden;POSITION: absolute; TOP: 0px; LEFT: 0px; Z-INDEX: -99;" alt="">
|
|
|
|
<BR><BR>
|
|
<SPAN id=spnStatDividerBar style="position:absolute; left:190px; height:100%; width:0px; top:0px; background-color:#80A2CF; z-index:-3; ">
|
|
</SPAN>
|
|
|
|
<TABLE id=tblStatus border=0 cellspacing=0 cellpadding=0 style="color:#9AC1F4; FONT-WEIGHT: bold; FONT-FAMILY:Trebuchet MS; FONT-SIZE: 8pt; LEFT: 0px; POSITION: absolute; TOP: 0px; width:100%; Z-INDEX: -1;background-color:transparent" tabIndex=-1 >
|
|
<TR style="display:none" id=trItems TABINDEX=-1>
|
|
<TD align=middle height="100%" width="75%"></TD>
|
|
</TR>
|
|
<TR id=trItems1 TABINDEX=-1>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus1 src="inact_top.gif" style=" Z-INDEX: -2" alt=""></TD>
|
|
</TR>
|
|
<TR id=trItems2 TABINDEX=-1>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus2 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
|
|
</TR>
|
|
<TR id=trItems3 TABINDEX=-1>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus3 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
|
|
</TR>
|
|
<TR id=trItems4 TABINDEX=-1>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus4 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
|
|
</TR>
|
|
<TR id=trItems5 TABINDEX=-1>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus5 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
|
|
</TR>
|
|
<TR id=trItems6 TABINDEX=-1>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus6 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
|
|
</TR>
|
|
<TR id=trItems7 TABINDEX=-1>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus7 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
|
|
</TR>
|
|
<TR id=trItems8 TABINDEX=-1>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
|
|
<TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus8 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
|
|
<BR><BR>
|
|
<!--
|
|
<script>
|
|
window.parent.ProcessQueuedEvents();
|
|
</script>
|
|
-->
|
|
|
|
</body>
|
|
</html>
|