home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 May / 05_02.iso / software / nis / files / NIS / NIS.MSI / IntroWiz.exe / HTML / IW-ABOUTSTATUS.JS < prev    next >
Encoding:
JavaScript  |  2001-12-01  |  1.5 KB  |  61 lines

  1. ////////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // PRODUCT: Norton Internet Security/Symantec Desktop Firewall
  4. //
  5. // NAME:    iw-AboutStatus.js (Javascript file for iw-AboutStatus.HTM)
  6. //
  7. // Copyright (c) 2001 by Symantec Corporation. All rights reserved.
  8. //
  9. ////////////////////////////////////////////////////////////////////////////////////////////
  10.  
  11. function OnTabOver()
  12. {
  13.     // Last Control Tab over to the <back, next, close> button.
  14.     // Compare it with the Tab Key Code
  15.     var VK_TAB = 9;
  16.     if (window.event.keyCode == VK_TAB && (window.event.shiftKey != true))
  17.         window.parent.frames("bottom",0).focus();
  18.  
  19. }
  20.  
  21. function OnReverseTab()
  22. {
  23.     // Reverse Tab go back to navigation page
  24.     var VK_TAB = 9;
  25.     if (window.event.keyCode == VK_TAB && (window.event.shiftKey == true))
  26.         window.parent.frames("contents",0).focus();
  27. }
  28.  
  29. function OnKeyDownHandler()
  30. {
  31.     // Last Control Tab over to the <back, next, close> button.
  32.     var VK_ESCAPE = 27;
  33.  
  34.     if (window.event.keyCode == VK_ESCAPE)
  35.     {
  36.         // Escape key.. We want to exit out of the wizard..
  37.         parent.window.navigate("res://closeme.xyz");
  38.  
  39.     }
  40.     
  41. }
  42.  
  43. function OnLoad()
  44. {
  45.     LaunchGStatus.focus();
  46. }
  47.  
  48. function LaunchGeneralStatus()
  49. {
  50.     event.cancelBubble = true;
  51.     event.returnValue = false;
  52.     ConfigInfo.LaunchGeneralStatus();
  53. }
  54.  
  55. function LaunchReportingStatus()
  56. {
  57.     event.cancelBubble = true;
  58.     event.returnValue = false;
  59.     ConfigInfo.LaunchReportingStatus();
  60. }
  61.