cbtree
Joined: 16 Jul 2007 Posts: 6
|
Posted: Wed Aug 01, 2007 8:07 pm Post subject: |
|
|
I post here my codes - maybe some others will have the same problem:
tree_nodes.js
| Quote: | // Tree structure definition
var TREE_NODES = [
['RASE DE CAINI', null, null,
['RASE DE CAINI', 'desters.html', 'content',
],
],
['INGRIJIREA CAINELUI', null, null,
['SANATATEA CAINELUI', 'desters.html', 'content',
],
['BOLI DE SEZON', 'desters.html', 'content',
],
['PARAZITII EXTERNI AI CAINELUI', 'desters.html', 'content',
],
['SENIOR', 'desters.html', 'content',
],
['ARTICOLE DE SEZON', 'desters.html', 'content',
],
['NUTRITIE', 'desters.html', 'content',
],
['OBEZITATEA LA CAINE', 'desters.html', 'content',
],
['GASESTE UN VETERINAR', 'desters.html', 'content',
],
],
['TURISM CANIN', null, null,
['TURISM', 'desters.html', 'content',
],
],
]; |
tree_format.js
| Code: | // Tree format definition
var TREE_FORMAT = [
// 0. left position
10,
// 1. top position
10,
// 2. show buttons ("+" and "-" images)
false,
// 3. button images: collapsed state, expanded state, blank image
["", "", "images/blank.gif"],
// 4. size of buttons: width, height, indent amount for childless nodes
[0, 0, 0],
// 5. show icons ("folder" and "document")
true,
// 6. icon images: closed folder, opened folder, document
["", "", "images/blank.gif"],
// 7. size of icons: width, height
[33, 31],
// 8. indent amount for each level of the tree
[0, 0, 0, 0, 0, 0, 0, 0, 0],
// 9. background color for the tree
"",
// 10. default CSS class for nodes
"clsLevel1",
// 11. individual CSS classes for levels of the tree
['clsLevel1', 'clsLevel2'],
// 12. "single branch" mode
true,
// 13. padding and spacing values for all nodes
[0, 0]
]; |
|
|