Click to See Complete Forum and Search --> : Question about collapsible tree menu


Sidor
01-15-2003, 01:25 AM
I'm using free tree menu COOLjsTree (http://javascript.cooldev.com/scripts/cooltree/) and have a problem with tree structure setup. The error message like TREE_NODES not defined.

This is structure definition:

var TREE_NODES = [
['Nieuws', null, null,
['Algemeen', '../pages/nieuws/N.html', 'body'],
['pers', '../pages/nieuws/N_pers.html', 'body'],
['referenties', '../pages/nieuws/N_refer.html', 'body'],
['links',' ../pages/nieuws/N_Links.html', 'body'],
],
['producten', null, null,
['Introductie', '../pages/producten/P.html', 'body'],
['Softpack', null, null,
['kenmerken', '../pages/producten/P_SP.html', 'body'],
['vergelijking', '../pages/producten/P_verg.html', 'body'],
['screenshots<br>videos', '../pages/producten/SP_screenshots.html', 'body'],
],
['Softpack Pro','../pages/producten/P_spp.html', 'body'],
['Softpack Sales', '../pages/producten/P_sps.html', 'body'],
['eTouch', '../pages/producten/P_etouch.html', 'body'],
['maatwerk', '../pages/producten/P_maatw.html', 'body'],
['webhosting', '../pages/producten/P_web.html', 'body'],
['webdesign', '../pages/producten/P_wdes.html', 'body'],
['demonstratie', '../pages/producten/P_aanvraag_demo.html', 'body'],
],
['Standaardisering', null, null,
['SSA', '../pages/SSA.html', 'body'],],
['Gebruikersforum', null, null,
['Introductie', '../pages/Gebrui_forum/G.html', 'body'],
['service', null, null,
['service updates', '../pages/Gebrui_forum/G_serv.html', 'body'],
['diensten', '../pages/Gebrui_forum/G_diensten.html', 'body'],
['opleidingen', '../pages/Gebrui_forum/G_oplei.html', 'body'],],
],
['support', '../pages/Gebrui_forum/G_suppo.html', 'body'],
['FAQ', '../pages/Gebrui_forum/G_faq.html', 'body'],
['tips & tricks', '../pages/Gebrui_forum/G_tips.html', 'body'],
]
];


I'm newbie in javascript and don't understand what happenning. :(

Beldale
01-15-2003, 06:30 AM
Using this tree code appears to be in three parts (2-include files, and the javascript on the page itself), please include all code for a better look into what you are attempting to do.

Thank you.