Since menus can be defined through the items collection:
menu = new dhtmlXMenuObject({
parent:“a_menu”,
items:[
{id:“t1”, text:“Top 1”, items:[
{id:“ch1”, text:“child 1”},
{id:“ch2”, text:“child 2”}
]}
]
});
Can menus be dynamically loaded with a (json) items collection?