Board Logo

Any ideas why this isnt working?
jd1000 - 9/29/2005 at 07:45 PM

Im using Treemenu Pro, does anyone know why this simple data file isnt working?

var TREE_ITEMS = [ ['Home', 'home.html',0, ['Aboutme','about.html',0,{'i0':'icons/pageblank.gif','i64':'icons/pageblank.gif','s0':'altmout'}, ],['Ty','AboutTy',0,{'i0':'icons/pageblank.gif','i64':'icons/pageblank.gif','s0':'altmout'}, ], ] ];


Cygnus - 9/30/2005 at 12:25 PM

At the end of the file, you have

altmout'}, ], ] ];

Try

'altmout'}] ] ];

(two commas removed)
HTH


jd1000 - 9/30/2005 at 10:40 PM

That didnt seem to fix it, does it work for you?


rock - 10/3/2005 at 10:34 AM

Assumming {...} section to be item scope settings I'd recomend you to keep correct fields order, i.e.:
['Aboutme','about.html',{'i0':'icons/pageblank.gif','i64':'icons/pageblank.gif','s0':'altmout'}]


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/