theme.js

来自「一个使用struts+hibernate+spring开发的完的网站源代码。」· JavaScript 代码 · 共 48 行

JS
48
字号
// directory of where all the images arevar cmThemePanelBase = 'jscookmenu/ThemePanel/';var cmThemePanel ={  	// main menu display attributes  	//  	// Note.  When the menu bar is horizontal,  	// mainFolderLeft and mainFolderRight are  	// put in <span></span>.  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: '<img alt="" src="' + cmThemePanelBase + 'blank.gif">',  	// HTML code to the right of the folder item  	mainFolderRight: '<img alt="" src="' + cmThemePanelBase + 'arrow.gif">',	// HTML code to the left of the regular item	mainItemLeft: '<img alt="" src="' + cmThemePanelBase + 'blank.gif">',	// HTML code to the right of the regular item	mainItemRight: '<img alt="" src="' + cmThemePanelBase + 'blank.gif">',	// sub menu display attributes	// HTML code to the left of the folder item	folderLeft: '<img alt="" src="' + cmThemePanelBase + 'blank.gif">',	// HTML code to the right of the folder item	folderRight: '<img alt="" src="' + cmThemePanelBase + 'arrow.gif">',	// HTML code to the left of the regular item	itemLeft: '<img alt="" src="' + cmThemePanelBase + 'blank.gif">',	// HTML code to the right of the regular item	itemRight: '<img alt="" src="' + cmThemePanelBase + 'blank.gif">',	// cell spacing for main menu	mainSpacing: 0,	// cell spacing for sub menus	subSpacing: 0,	// auto dispear time for submenus in milli-seconds	delay: 500};// for sub menu horizontal splitvar cmThemePanelHSplit = [_cmNoAction, '<td colspan="3" style="height: 5px; overflow: hidden"><div class="ThemePanelMenuSplit"></div></td>'];// for vertical main menu horizontal splitvar cmThemePanelMainHSplit = [_cmNoAction, '<td colspan="3" style="height: 5px; overflow: hidden"><div class="ThemePanelMenuSplit"></div></td>'];// for horizontal main menu vertical splitvar cmThemePanelMainVSplit = [_cmNoAction, '|'];

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?