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