home *** CD-ROM | disk | FTP | other *** search
/ Hackers Magazine 57 / CdHackersMagazineNr57.iso / Software / Programming / setup.exe / %AppDir% / menubar / ThemeOfficeSilver / theme.js < prev    next >
Encoding:
JavaScript  |  2009-12-08  |  2.1 KB  |  50 lines

  1. /*
  2.   edit cmThemeOfficeSilverBase it must be the root of the theme's images 
  3. */
  4.  
  5. var cmThemeOfficeSilverBase = '.';
  6.  
  7. // the follow block allows user to re-define theme base directory
  8. // before it is loaded.
  9. try
  10. {
  11.     if (myThemeOfficeSilverBase)
  12.     {
  13.         cmThemeOfficeSilverBase = myThemeOfficeSilverBase;
  14.     }
  15. }
  16. catch (e)
  17. {
  18. }
  19.  
  20. var cmThemeOfficeSilver =
  21. {
  22.           mainFolderLeft: '<div style="width: 12px; height: 17px" class="themeSpacerDiv" />',
  23.         mainFolderRight: '<div style="width: 11px; height: 17px" class="themeSpacerDiv" />',
  24.         mainItemLeft: '<div style="width: 12px; height: 17px" class="themeSpacerDiv" />',
  25.         mainItemRight: '<div style="width: 11px; height: 17px" class="themeSpacerDiv" />',
  26.         folderLeft: '<div style="width: 24px; height: 18px" class="themeSpacerDiv" />',
  27.         folderRight: '<div style="width: 19px; height: 18px" class="themeSpacerDiv" />',
  28.         itemLeft: '<div style="width: 24px; height: 18px" class="themeSpacerDiv" />',
  29.         itemRight: '<div style="width: 19px; height: 18px" class="themeSpacerDiv" />',
  30.         mainSpacing: 0,
  31.         subSpacing: 0,
  32.         delay: 100
  33. };
  34.  
  35. var cmThemeOfficeSilverHSplit = [_cmNoClick, '<td  class="ThemeOfficeSilverMenuSplitLeft"><div></div></td>' +
  36.                                               '<td  class="ThemeOfficeSilverMenuSplitText"><div></div></td>' +
  37.                                               '<td  class="ThemeOfficeSilverMenuSplitRight"><div></div></td>'
  38.                                  ];
  39.  
  40. var cmThemeOfficeSilverMainVSplit = [_cmNoClick, '<div>' +
  41.                             '<table height="19" width="10" ' +
  42.                             ' cellspacing="0"><tr><td class="ThemeOfficeSilverHorizontalSplit">' +
  43.                            '|</td></tr></table></div>'];
  44.  
  45. var cmThemeOfficeSilverMainHSplit = [_cmNoClick, '<td  class="ThemeOfficeSilverMainSplitLeft"><div></div></td>' +
  46.                                               '<td  class="ThemeOfficeSilverMainSplitText"><div></div></td>' +
  47.                                               '<td  class="ThemeOfficeSilverMainSplitRight"><div></div></td>'
  48.                                    ];    
  49.  
  50.