jd1000
Member
Posts: 10
Registered: 9/29/2005
Member Is Offline
|
| posted on 9/29/2005 at 07:45 PM |
|
|
Any ideas why this isnt working?
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
Junior Member
Posts: 2
Registered: 9/29/2005
Member Is Offline
|
| posted on 9/30/2005 at 12:25 PM |
|
|
At the end of the file, you have
altmout'}, ], ] ];
Try
'altmout'}] ] ];
(two commas removed)
HTH
|
|
|
jd1000
Member
Posts: 10
Registered: 9/29/2005
Member Is Offline
|
| posted on 9/30/2005 at 10:40 PM |
|
|
That didnt seem to fix it, does it work for you?
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 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'}]
|
|
|
|