1 // change this variable to update the theme directory
2 var ctThemeXPBase = '/~heng/JSCookTree/ThemeXP/';
4 // theme node properties
9 // except themeLevel, all other attributes can be specified
10 // for each level of depth of the tree.
12 // HTML code to the left of a folder item
13 // first one is for folder closed, second one is for folder opened
14 folderLeft: [['<img alt="" src="' + ctThemeXPBase + 'folder1.gif" />', '<img alt="" src="' + ctThemeXPBase + 'folderopen1.gif" />']],
15 // HTML code to the right of a folder item
16 // first one is for folder closed, second one is for folder opened
17 folderRight: [['', '']],
18 // HTML code for the connector
19 // first one is for w/ having next sibling, second one is for no next sibling
20 // then inside each, the first field is for closed folder form, and the second field is for open form
21 folderConnect: [[['<img alt="" src="' + ctThemeXPBase + 'plus.gif" />','<img alt="" src="' + ctThemeXPBase + 'minus.gif" />'],
22 ['<img alt="" src="' + ctThemeXPBase + 'plusbottom.gif" />','<img alt="" src="' + ctThemeXPBase + 'minusbottom.gif" />']]],
24 // HTML code to the left of a regular item
25 itemLeft: ['<img alt="" src="' + ctThemeXPBase + 'page.gif" />'],
26 // HTML code to the right of a regular item
28 // HTML code for the connector
29 // first one is for w/ having next sibling, second one is for no next sibling
30 itemConnect: [['<img alt="" src="' + ctThemeXPBase + 'join.gif" />', '<img alt="" src="' + ctThemeXPBase + 'joinbottom.gif" />']],
32 // HTML code for spacers
33 // first one connects next, second one doesn"t
34 spacer: [['<img alt="" src="' + ctThemeXPBase + 'line.gif" />', '<img alt="" src="' + ctThemeXPBase + 'spacer.gif" />']],
36 // deepest level of theme style sheet specified
40 // theme node properties
45 // except themeLevel, all other attributes can be specified
46 // for each level of depth of the tree.
48 // HTML code to the left of a folder item
49 // first one is for folder closed, second one is for folder opened
50 folderLeft: [['<img alt="" src="' + ctThemeXPBase + 'folder2.gif" />', '<img alt="" src="' + ctThemeXPBase + 'folderopen2.gif" />']],
51 // HTML code to the right of a folder item
52 // first one is for folder closed, second one is for folder opened
53 folderRight: [['', '']],
54 // HTML code for the connector
55 // first one is for w/ having next sibling, second one is for no next sibling
56 // then inside each, the first field is for closed folder form, and the second field is for open form
57 folderConnect: [[['',''],['','']],[['<img alt="" src="' + ctThemeXPBase + 'plus.gif" />','<img alt="" src="' + ctThemeXPBase + 'minus.gif" />'],
58 ['<img alt="" src="' + ctThemeXPBase + 'plusbottom.gif" />','<img alt="" src="' + ctThemeXPBase + 'minusbottom.gif" />']]],
60 // HTML code to the left of a regular item
61 itemLeft: ['<img alt="" src="' + ctThemeXPBase + 'page.gif" />'],
62 // HTML code to the right of a regular item
64 // HTML code for the connector
65 // first one is for w/ having next sibling, second one is for no next sibling
66 itemConnect: [['',''],['<img alt="" src="' + ctThemeXPBase + 'join.gif" />', '<img alt="" src="' + ctThemeXPBase + 'joinbottom.gif" />']],
68 // HTML code for spacers
69 // first one connects next, second one doesn"t
70 spacer: [['',''],['<img alt="" src="' + ctThemeXPBase + 'line.gif" />', '<img alt="" src="' + ctThemeXPBase + 'spacer.gif" />']],
72 // deepest level of theme style sheet specified