📄 theme.js
字号:
// change this variable to update the theme directory
var ctThemeXPBase = 'ThemeXP/';
// theme node properties
var ctThemeXP1 =
{
// tree attributes
//
// except themeLevel, all other attributes can be specified
// for each level of depth of the tree.
// HTML code to the left of a folder item
// first one is for folder closed, second one is for folder opened
folderLeft: [['<img alt="" src="' + ctThemeXPBase + 'folder1.gif" />', '<img alt="" src="' + ctThemeXPBase + 'folderopen1.gif" />']],
// HTML code to the right of a folder item
// first one is for folder closed, second one is for folder opened
folderRight: [['', '']],
// HTML code for the connector
// first one is for w/ having next sibling, second one is for no next sibling
// then inside each, the first field is for closed folder form, and the second field is for open form
folderConnect: [[['<img alt="" src="' + ctThemeXPBase + 'plus.gif" />','<img alt="" src="' + ctThemeXPBase + 'minus.gif" />'],
['<img alt="" src="' + ctThemeXPBase + 'plusbottom.gif" />','<img alt="" src="' + ctThemeXPBase + 'minusbottom.gif" />']]],
// HTML code to the left of a regular item
itemLeft: ['<img alt="" src="' + ctThemeXPBase + 'page.gif" />'],
// HTML code to the right of a regular item
itemRight: [''],
// HTML code for the connector
// first one is for w/ having next sibling, second one is for no next sibling
itemConnect: [['<img alt="" src="' + ctThemeXPBase + 'join.gif" />', '<img alt="" src="' + ctThemeXPBase + 'joinbottom.gif" />']],
// HTML code for spacers
// first one connects next, second one doesn"t
spacer: [['<img alt="" src="' + ctThemeXPBase + 'line.gif" />', '<img alt="" src="' + ctThemeXPBase + 'spacer.gif" />']],
// deepest level of theme style sheet specified
themeLevel: 1
};
// theme node properties
var ctThemeXP2 =
{
// tree attributes
//
// except themeLevel, all other attributes can be specified
// for each level of depth of the tree.
// HTML code to the left of a folder item
// first one is for folder closed, second one is for folder opened
folderLeft: [['<img alt="" src="' + ctThemeXPBase + 'folder2.gif" />', '<img alt="" src="' + ctThemeXPBase + 'folderopen2.gif" />']],
// HTML code to the right of a folder item
// first one is for folder closed, second one is for folder opened
folderRight: [['', '']],
// HTML code for the connector
// first one is for w/ having next sibling, second one is for no next sibling
// then inside each, the first field is for closed folder form, and the second field is for open form
folderConnect: [[['',''],['','']],[['<img alt="" src="' + ctThemeXPBase + 'plus.gif" />','<img alt="" src="' + ctThemeXPBase + 'minus.gif" />'],
['<img alt="" src="' + ctThemeXPBase + 'plusbottom.gif" />','<img alt="" src="' + ctThemeXPBase + 'minusbottom.gif" />']]],
// HTML code to the left of a regular item
itemLeft: ['<img alt="" src="' + ctThemeXPBase + 'page.gif" />'],
// HTML code to the right of a regular item
itemRight: [''],
// HTML code for the connector
// first one is for w/ having next sibling, second one is for no next sibling
itemConnect: [['',''],['<img alt="" src="' + ctThemeXPBase + 'join.gif" />', '<img alt="" src="' + ctThemeXPBase + 'joinbottom.gif" />']],
// HTML code for spacers
// first one connects next, second one doesn"t
spacer: [['',''],['<img alt="" src="' + ctThemeXPBase + 'line.gif" />', '<img alt="" src="' + ctThemeXPBase + 'spacer.gif" />']],
// deepest level of theme style sheet specified
themeLevel: 1
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -