home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2004 March / PCWMAR04.iso / javascript / menu.js < prev    next >
Encoding:
JavaScript  |  2003-12-18  |  6.9 KB  |  118 lines

  1. // DEFINE GLOBAL VARIABLES
  2. var opacity = 70;
  3. var bgcol = "#FFFFFF";
  4. var imgPath = "/Images/menuItems/";
  5.  
  6. // DEFINE MENU ITEMS
  7.  
  8. var Full = new menuItem('menuLowFull.gif','menuHighFull.gif','Full','/Software/Full/index.htm');
  9. var Freeware = new menuItem('menuLowFreeware.gif','menuHighFreeware.gif','Freeware','/Software/Freeware/index.htm');
  10. var Trial = new menuItem('menuLowTrial.gif','menuHighTrial.gif','Trial','/Software/Trial/index.htm');
  11. var Featured = new menuItem('menuLowFeatured.gif','menuHighFeatured.gif','Featured','/Software/Featured/index.htm');
  12. var GroupTest = new menuItem('menuLowGroupTest.gif','menuHighGroupTest.gif','GroupTest','/Software/Group Test/index.htm');
  13. var Resources = new menuItem('menuLowResources.gif','menuHighResources.gif','Resources','/Software/Resources/index.htm');
  14. var Games = new menuItem('menuLowGames.gif','menuHighGames.gif','Games','/Software/Games/index.htm');
  15.  
  16. // DEFINE SUB MENU ITEMS
  17.  
  18. Featured.addSubMenu('Ace Utilities 2.1','/Software/Featured/index.htm');
  19. Featured.addSubMenu('Adaware 6 build 181','/Software/Featured/index.htm');
  20. Featured.addSubMenu('jv16 PowerTools 1.4','/Software/Featured/index.htm');
  21. Featured.addSubMenu('MRU Blaster','/Software/Featured/index.htm');
  22. Featured.addSubMenu('NT Registry Optimiser 1.1','/Software/Featured/index.htm');
  23. Featured.addSubMenu('RegSeeker 1.35','/Software/Featured/index.htm');
  24. Featured.addSubMenu('RegSupreme 1.1','/Software/Featured/index2.htm');
  25. Featured.addSubMenu('SequoiaView 1.3','/Software/Featured/index2.htm');
  26. Featured.addSubMenu('Spybot Search and Destroy 1.2','/Software/Featured/index2.htm');
  27. Featured.addSubMenu('StartupMonitor 1.02','/Software/Featured/index2.htm');
  28. Featured.addSubMenu('System Mechanic 4','/Software/Featured/index2.htm');
  29. Featured.addSubMenu('TreeSize Professional 3.02','/Software/Featured/index2.htm');
  30. Freeware.addSubMenu('DeepBurner 1','/Software/Freeware/index.htm');
  31. Freeware.addSubMenu('eFTP 3','/Software/Freeware/index.htm');
  32. Freeware.addSubMenu('Enhanced Virtual Desktop','/Software/Freeware/index.htm');
  33. Freeware.addSubMenu('IZArc 3','/Software/Freeware/index.htm');
  34. Freeware.addSubMenu('Media FileName Convertor','/Software/Freeware/index.htm');
  35. Freeware.addSubMenu('NetSignet','/Software/Freeware/index.htm');
  36. Freeware.addSubMenu('Powerbullet Presenter','/Software/Freeware/index2.htm');
  37. Freeware.addSubMenu('Simply Safe Backup','/Software/Freeware/index2.htm');
  38. Freeware.addSubMenu('Startup Mechanic 1.1','/Software/Freeware/index2.htm');
  39. Freeware.addSubMenu('SyncBackup v2.1','/Software/Freeware/index2.htm');
  40. Freeware.addSubMenu('Wallpaper Control','/Software/Freeware/index2.htm');
  41. Freeware.addSubMenu('Windowpaper XP','/Software/Freeware/index2.htm');
  42. Full.addSubMenu('AWIcons Standard 9','/Software/Full/awicons.htm');
  43. Full.addSubMenu('Quicken XG Startup Edition','/Software/Full/quickenxg.htm');
  44. Full.addSubMenu('TestTrack Pro 5','/Software/Full/testtrackpro.htm');
  45. Games.addSubMenu('Combat Mission African Korps','/Software/Games/index.htm');
  46. Games.addSubMenu('Next Generation Tennis 2003','/Software/Games/index.htm');
  47. Games.addSubMenu('Pop Idol','/Software/Games/index.htm');
  48. Games.addSubMenu('Terminator 3 War of the Machines','/Software/Games/index.htm');
  49. Games.addSubMenu('Uru Ages Beyond Myst','/Software/Games/index.htm');
  50. Games.addSubMenu('V Rally 3','/Software/Games/index.htm');
  51. GroupTest.addSubMenu('Gentoo Linux 1.4','/Software/Group Test/index.htm');
  52. GroupTest.addSubMenu('Knoppix 3.3','/Software/Group Test/index.htm');
  53. GroupTest.addSubMenu('Mandrake 9.2','/Software/Group Test/index.htm');
  54. GroupTest.addSubMenu('RedHat Linux 9','/Software/Group Test/index.htm');
  55. GroupTest.addSubMenu('SuSE 9 Live Eval','/Software/Group Test/index.htm');
  56. GroupTest.addSubMenu('Xandros Desktop 2','/Software/Group Test/index.htm');
  57. Resources.addSubMenu('Adobe Acrobat Reader 6','/Software/Resources/index.htm');
  58. Resources.addSubMenu('Apache','/Software/Resources/index.htm');
  59. Resources.addSubMenu('Directory Opus 6','/Software/Resources/index.htm');
  60. Resources.addSubMenu('DirectX 9.0b','/Software/Resources/index2.htm');
  61. Resources.addSubMenu('Dreamweaver MX 2004','/Software/Resources/index4.htm');
  62. Resources.addSubMenu('Firegraphic 6','/Software/Resources/index3.htm');
  63. Resources.addSubMenu('Fireworks MX 2004','/Software/Resources/index4.htm');
  64. Resources.addSubMenu('Instant CD 8','/Software/Resources/index3.htm');
  65. Resources.addSubMenu('Internet Explorer 6','/Software/Resources/index3.htm');
  66. Resources.addSubMenu('JawsPDF Creator','/Software/Resources/index3.htm');
  67. Resources.addSubMenu('Macromedia Flash Player','/Software/Resources/index.htm');
  68. Resources.addSubMenu('Macromedia Shockwave Player','/Software/Resources/index.htm');
  69. Resources.addSubMenu('MozillaFirebird 0.7','/Software/Resources/index.htm');
  70. Resources.addSubMenu('MozillaThunderbird 0.4','/Software/Resources/index2.htm');
  71. Resources.addSubMenu('MySQL','/Software/Resources/index2.htm');
  72. Resources.addSubMenu('PHP','/Software/Resources/index2.htm');
  73. Resources.addSubMenu('RealOne Player','/Software/Resources/index2.htm');
  74. Resources.addSubMenu('Stuffit Standard','/Software/Resources/index3.htm');
  75. Resources.addSubMenu('WinGet 1.6','/Software/Resources/index2.htm');
  76. Resources.addSubMenu('WSFTP 8','/Software/Resources/index3.htm');
  77. Trial.addSubMenu('ACDSee v6.02','/Software/Trial/index.htm');
  78. Trial.addSubMenu('Acronis PrivacyExpert 7','/Software/Trial/index.htm');
  79. Trial.addSubMenu('Acronis TrueImage 7','/Software/Trial/index.htm');
  80. Trial.addSubMenu('Adobe Photoshop CS','/Software/Trial/index3.htm');
  81. Trial.addSubMenu('AWBackup 3','/Software/Trial/index2.htm');
  82. Trial.addSubMenu('AWIcons Pro 9','/Software/Trial/index2.htm');
  83. Trial.addSubMenu('FSecure Internet Security 2004','/Software/Trial/index2.htm');
  84. Trial.addSubMenu('MindManager X5','/Software/Trial/index2.htm');
  85. Trial.addSubMenu('Norton AntiSpam 2004','/Software/Trial/index.htm');
  86. Trial.addSubMenu('Norton Password Manager 2004');
  87. Trial.addSubMenu('OO Defrag 6','/Software/Trial/index.htm');
  88. Trial.addSubMenu('Panda AntiVirus Titanium 2004','/Software/Trial/index2.htm');
  89. Trial.addSubMenu('ReadIris Pro 9','/Software/Trial/index3.htm');
  90. Trial.addSubMenu('RoboDemo 5','/Software/Trial/index.htm');
  91. Trial.addSubMenu('SpamWeed 1.2 for Outlook','/Software/Trial/index3.htm');
  92. Trial.addSubMenu('TaxCalc 2003 Lite','/Software/Trial/index3.htm');
  93. Trial.addSubMenu('TestTrack Pro 6','/Software/Trial/index3.htm');
  94. Trial.addSubMenu('VisualRoute 8','/Software/Trial/index3.htm');
  95.  
  96.  
  97. // SET MENU PERIPHERALS
  98.  
  99. setGlobalMainSizes(91,26);
  100. setGlobalSubSizes(160,13);
  101. setGlobalSpaces(1,1,1,"blank.gif");
  102.  
  103. // SET SMALLER WIDTH SUB MENUS (OPTIONAL)
  104. Full.subwidth = 170;
  105. Freeware.subwidth = 185;
  106. Featured.subwidth = 188;
  107. Trial.subwidth = 192;
  108. GroupTest.subwidth = 150;
  109. Resources.subwidth = 188;
  110. Games.subwidth = 210;
  111.  
  112. // SET SUB MENU IMAGES
  113. setOptionalSubmenuImages("menuLowArrow.gif","menuHighArrow.gif",13,13);
  114.  
  115. var nn6_posX = 6;
  116. var nn6_posY = 151;
  117.  
  118.