windows-nt/Source/XPSP1/NT/base/ntsetup/oobe/html/sconnect.jsx
2020-09-26 16:20:57 +08:00

58 lines
1.6 KiB
JavaScript

var g_sconnectImgDir="images/";
///////////////////////////////////////////////////////////
// msobshel.htm - initialization
///////////////////////////////////////////////////////////
function sconnect_InitSimpleNavMap()
{
var sconnect_dir="html\\sconnect\\";
g_SimpleNavMap.Add("sconnect.htm", sconnect_dir+"scntlast.htm");
}
///////////////////////////////////////////////////////////
// sconnect.htm
///////////////////////////////////////////////////////////
function sconnectFirstPage_LoadMe()
{
InitFrameRef('External');
InitNewButtons();
if (g.btnNext != null)
g_FirstFocusElement = g.btnNext;
else
if (g.btnSkip != null)
g_FirstFocusElement = g.btnSkip;
else
if (g.btnBack != null)
g_FirstFocusElement = g.btnBack;
if (g_FirstFocusElement != null)
g_FirstFocusElement.focus();
else
g.document.body.focus();
}
///////////////////////////////////////////////////////////
// for interior pages
///////////////////////////////////////////////////////////
function sconnectInteriorPage_LoadMe()
{
InitFrameRef('External');
g_FirstFocusElement = g.btnNext;
InitButtons("SimpleBack", "SimpleNext");
g_FirstFocusElement.focus();
}
///////////////////////////////////////////////////////////
// scntlast.htm
///////////////////////////////////////////////////////////
function sconnectLastPage_LoadMe() {
InitFrameRef('External');
g_FirstFocusElement = g.btnNext;
// we will not use simpleback or simpleNext because we want the page to go directly to next checkpoint.
InitNewButtons();
g_FirstFocusElement.focus();
}