theme.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // directory of where all the images are
  2. //var cmThemeOfficeBase = '../../themes/default/images/';
  3. var cmThemeOfficeBase = 'images/';
  4. var cmThemeOffice =
  5. {
  6. // main menu display attributes
  7. //
  8. // Note. When the menu bar is horizontal,
  9. // mainFolderLeft and mainFolderRight are
  10. // put in <span></span>. When the menu
  11. // bar is vertical, they would be put in
  12. // a separate TD cell.
  13. // HTML code to the left of the folder item
  14. mainFolderLeft: '&nbsp;',
  15. // HTML code to the right of the folder item
  16. mainFolderRight: '&nbsp;',
  17. // HTML code to the left of the regular item
  18. mainItemLeft: '&nbsp;',
  19. // HTML code to the right of the regular item
  20. mainItemRight: '&nbsp;',
  21. // sub menu display attributes
  22. // 0, HTML code to the left of the folder item
  23. folderLeft: '<img alt="" src="' + cmThemeOfficeBase + 'spacer.png">',
  24. // 1, HTML code to the right of the folder item
  25. folderRight: '<img alt="" src="' + cmThemeOfficeBase + 'arrow.png">',
  26. // 2, HTML code to the left of the regular item
  27. itemLeft: '<img alt="" src="' + cmThemeOfficeBase + 'spacer.png">',
  28. // 3, HTML code to the right of the regular item
  29. itemRight: '<img alt="" src="' + cmThemeOfficeBase + 'blank.png">',
  30. // 4, cell spacing for main menu
  31. mainSpacing: 0,
  32. // 5, cell spacing for sub menus
  33. subSpacing: 0,
  34. // 6, auto dispear time for submenus in milli-seconds
  35. delay: 500
  36. };
  37. // for horizontal menu split
  38. var cmThemeOfficeHSplit = [_cmNoAction, '<td class="ThemeOfficeMenuItemLeft"></td><td colspan="2"><div class="ThemeOfficeMenuSplit"></div></td>'];
  39. var cmThemeOfficeMainHSplit = [_cmNoAction, '<td class="ThemeOfficeMainItemLeft"></td><td colspan="2"><div class="ThemeOfficeMenuSplit"></div></td>'];
  40. var cmThemeOfficeMainVSplit = [_cmNoAction, '&nbsp;'];