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.
57 lines
1.6 KiB
57 lines
1.6 KiB
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();
|
|
}
|
|
|