This application simply converts a short JS code like this :
menuTitle = "MyMenu";
flatMenu = [
"Applications",
"- Integration",
"-- Application 1 : http://integration.myApp1.com",
"-- Application 2 : http://integration.myApp2.com",
"- Pre-Production",
"-- Application 1 : http://preprod.myApp1.com",
"-- Application 2 : http://preprod.myApp2.com",
"- Production",
"-- Application 1 : http://prod.myApp1.com",
"-- Application 2 : http://prod.myApp2.com",
"-- DIVIDER",
"-- Application 3 : http://prod.myApp3.com",
"-- Application 4 : http://prod.myApp4.com",
"Tools",
"- Tool 1 : https://www.google.com/",
"- Tool 2 : https://www.yahoo.com/",
"- Tool 3 : https://duckduckgo.com/",
"Folders",
"- Folder 1 : #folder1",
"- Folder 2 : #folder2"
];
into a bootstrap menu like this :
Demo : http://agent-22.github.io/MyMenu