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

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