Source code of Windows XP (NT5)
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.

64 lines
1.5 KiB

  1. var g_migwizImgDir="images/";
  2. var g_migwizLastPage="";
  3. function migwiz_InitSimpleNavMap()
  4. {
  5. var migwiz_dir="html\\migwiz\\";
  6. g_SimpleNavMap.Add("migwiz.htm", migwiz_dir+"migwiz_2.htm");
  7. g_SimpleNavMap.Add("migwiz_2.htm", migwiz_dir+"migwiz_3.htm");
  8. g_SimpleNavMap.Add("migwiz_3.htm", migwiz_dir+"migwiz_4.htm");
  9. g_SimpleNavMap.Add("migwiz_4.htm", migwiz_dir+"migwiz_5.htm");
  10. g_SimpleNavMap.Add("migwiz_5.htm", migwiz_dir+"migwiz_6.htm");
  11. g_migwizLastPage = "migwiz_6.htm";
  12. }
  13. function migwizFirstPage_LoadMe()
  14. {
  15. InitFrameRef('External');
  16. if (g.btnNext != null)
  17. g_FirstFocusElement = g.btnNext;
  18. else if (g.btnSkip != null)
  19. g_FirstFocusElement = g.btnSkip;
  20. else if (g.btnBack != null)
  21. g_FirstFocusElement = g.btnBack;
  22. InitButtons(null, "SimpleNext");
  23. if (g_FirstFocusElement != null)
  24. g_FirstFocusElement.focus();
  25. else
  26. g.document.body.focus();
  27. if(GetCurrentPageName()=="migwiz.htm")
  28. {
  29. g.btnSkip.onclick = GoCancel;
  30. g.btnBack.onclick = GoBack;
  31. }
  32. g_FirstFocusElement.focus();
  33. }
  34. function migwizInteriorPage_LoadMe()
  35. {
  36. InitFrameRef('External');
  37. g_FirstFocusElement = g.btnNext;
  38. // InitButtons("DomigwizButtons");
  39. InitButtons("SimpleBack", "SimpleNext"); // This line added by jozeph
  40. g_FirstFocusElement.focus();
  41. }
  42. // This function added by jozeph
  43. function migwizLastPage_LoadMe()
  44. {
  45. InitFrameRef('External');
  46. g_FirstFocusElement = g.btnNext;
  47. InitButtons("SimpleBack");
  48. g_FirstFocusElement.focus();
  49. }
  50. function migwizGetLastPage()
  51. {
  52. return g_migwizLastPage;
  53. }