home *** CD-ROM | disk | FTP | other *** search
- ////////////////////////////////////////////////////////////////////////////////////////////
- //
- // PRODUCT: Norton Internet Security/Symantec Desktop Firewall
- //
- // NAME: iw-confid_examples.js (Javascript file for iw-confid_examples.HTM)
- //
- // Copyright (c) 2001 by Symantec Corporation. All rights reserved.
- //
- ////////////////////////////////////////////////////////////////////////////////////////////
-
- function OnLoad()
- {
- CloseB.focus();
- Back0.disabled = true;
- Back1.disabled = true;
- Back2.disabled = true;
-
- ListA.SetColumnCount(3);
- ListA.SetColumnWidth(0, "34%");
- ListA.SetColumnWidth(1, "34%");
- ListA.SetColumnWidth(2, "32%");
-
- var pRow = null;
- pRow = ListA.InsertRow(-1);
-
- var pRow = null;
- pRow = ListA.InsertRow(-1);
- ListA.SetCellTextPtr(pRow, 0, "Pete's Bank Account");
- ListA.SetCellTextPtr(pRow, 1, "Bank Account");
- ListA.SetCellTextPtr(pRow, 2, "07838");
- pRow = ListA.InsertRow(-1);
- ListA.SetCellTextPtr(pRow, 0, "John's E-mail Adress");
- ListA.SetCellTextPtr(pRow, 1, "E-mail");
- ListA.SetCellTextPtr(pRow, 2, "jdoe32@symantec.com");
- pRow = ListA.InsertRow(-1);
- ListA.SetCellTextPtr(pRow, 0, "Pete's Platinum Card");
- ListA.SetCellTextPtr(pRow, 1, "Credit Card");
- ListA.SetCellTextPtr(pRow, 2, "54232");
-
- }
-
- function ClickClose()
- {
- window.navigate("res://closeme.xyz");
- }
-
-
- function OnKeyDownHandler()
- {
- // Last Control Tab over to the <back, next, close> button.
- var VK_ESCAPE = 27;
-
- if (window.event.keyCode == VK_ESCAPE)
- {
- // Escape key.. We want to exit out of the wizard..
- window.navigate("res://closeme.xyz");
-
- }
-
- }