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

  1. ////////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // PRODUCT: Norton Internet Security/Symantec Desktop Firewall
  4. //
  5. // NAME:    iw-AboutNAV.js (Javascript file for iw-AboutNAV.HTM)
  6. //
  7. // Copyright (c) 2001 by Symantec Corporation. All rights reserved.
  8. //
  9. ////////////////////////////////////////////////////////////////////////////////////////////
  10.  
  11. function OnTabOver()
  12. {
  13.     // Tab or reverse tab 
  14.     var VK_TAB = 9;
  15.     
  16.     if (window.event.keyCode == VK_TAB && (window.event.shiftKey == false))
  17.         window.parent.frames("bottom",0).focus();
  18.     else if (window.event.keyCode == VK_TAB && (window.event.shiftKey == true))
  19.         window.parent.frames("contents",0).focus();
  20. }        
  21.  
  22.  
  23. function OnLoad()
  24. {
  25.     GoToNAVPage.focus();
  26. }
  27.  
  28. function GoToNAV()
  29. {
  30.     event.cancelBubble = true;
  31.     event.returnValue = false;
  32.  
  33.     ConfigInfo.LaunchNAVOpts();
  34. }
  35.  
  36. function OnKeyDownHandler()
  37. {
  38.     // Last Control Tab over to the <back, next, close> button.
  39.     var VK_ESCAPE = 27;
  40.  
  41.     if (window.event.keyCode == VK_ESCAPE)
  42.     {
  43.         // Escape key.. We want to exit out of the wizard..
  44.         parent.window.navigate("res://closeme.xyz");
  45.  
  46.     }
  47.     
  48. }