// directory of where all the images are
var cmThemeClassicBase = gx.util.resourceUrl(gx.basePath + gx.staticDirectory + 'JSCookMenu/JSCookMenu/MenuThemeClassic/', true);
// the follow block allows user to re-define theme base directory
// before it is loaded.
try
{
if (myThemeClassicBase)
{
cmThemeClassicBase = myThemeClassicBase;
}
}
catch (e)
{
}
var cmThemeClassic =
{
prefix: 'ThemeClassic',
// main menu display attributes
//
// Note. When the menu bar is horizontal,
// mainFolderLeft and mainFolderRight are
// put in . When the menu
// bar is vertical, they would be put in
// a separate TD cell.
// HTML code to the left of the folder item
mainFolderLeft: ' ',
// HTML code to the right of the folder item
mainFolderRight: ' ',
// HTML code to the left of the regular item
mainItemLeft: ' ',
// HTML code to the right of the regular item
mainItemRight: ' ',
// sub menu display attributes
// 0, HTML code to the left of the folder item
folderLeft: '',
// 1, HTML code to the right of the folder item
folderRight: '
',
// 2, HTML code to the left of the regular item
itemLeft: '
',
// 3, HTML code to the right of the regular item
itemRight: '
',
// 4, cell spacing for main menu
mainSpacing: 0,
// 5, cell spacing for sub menus
subSpacing: 0,
// move 1st lvl submenu for horizontal menus up a bit to avoid double border
offsetHMainAdjust: [0, -1],
offsetVMainAdjust: [-1, 0],
// offset according to Opera, which is correct.
offsetSubAdjust: [1, 0]
// rest use default settings
};
// for horizontal menu split
var cmThemeClassicHSplit = [_cmNoClick, '