home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / groupoffice-com-2.01 / themes / Intermesh / menustyle.js < prev    next >
Text File  |  2004-03-08  |  2KB  |  42 lines

  1. var cmTheme =
  2. {
  3.     // main menu display attributes
  4.     //
  5.     // Note.  When the menu bar is horizontal,
  6.     // mainFolderLeft and mainFolderRight are
  7.     // put in <span></span>.  When the menu
  8.     // bar is vertical, they would be put in
  9.     // a separate TD cell.
  10.  
  11.     // HTML code to the left of the folder item
  12.     mainFolderLeft: ' ',
  13.     // HTML code to the right of the folder item
  14.     mainFolderRight: ' ',
  15.     // HTML code to the left of the regular item
  16.     mainItemLeft: ' ',
  17.     // HTML code to the right of the regular item
  18.     mainItemRight: ' ',
  19.  
  20.     // sub menu display attributes
  21.  
  22.     // 0, HTML code to the left of the folder item
  23.     folderLeft: '<img alt="" src="' + cmThemeBase + 'spacer.gif">',
  24.     // 1, HTML code to the right of the folder item
  25.     folderRight: '<img alt="" src="' + cmThemeBase + 'arrow.gif">',
  26.     // 2, HTML code to the left of the regular item
  27.     itemLeft: '<img alt="" src="' + cmThemeBase + 'spacer.gif">',
  28.     // 3, HTML code to the right of the regular item
  29.     itemRight: '<img alt="" src="' + cmThemeBase + 'blank.gif">',
  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.  
  38. // for horizontal menu split
  39. //var cmThemeHSplit = [_cmNoAction, '<td class="ThemeMenuItemLeft"></td><td colspan="2"><div class="ThemeMenuSplit"></div></td>'];
  40. var cmThemeHSplit = [_cmNoAction, '<td colspan="3" class="ThemeMenuSplit"></td>'];
  41. var cmThemeMainHSplit = [_cmNoAction, '<td class="ThemeMainItemLeft"></td><td colspan="2"><div class="ThemeMenuSplit"></div></td>'];
  42. var cmThemeMainVSplit = [_cmNoAction, '|'];