Howdy –
I’m just learning how to create websites, and I’m trying to figure out if I can do something with my site navigation. I’m using JavaScript to create a vertical menu, and I’m wondering if it’s possible to add spacing that would push some parts of the menu farther down… separating selections into groups.
For example… instead of something like:
About This Site
Resource Center
News You Can Use
Helpful Links
I could have something like this:
About This Site
Resource Center
News You Can Use
Helpful Links
Contact Us
Here’s the code I’m working with:
===================================================
// menu_items.js file
var MENU_ITEMS =[
[“About This Site”, ,
[“Overview”, “Insert URL”],
[“Meet The Team”, “Insert URL”]
],
[“Resource Center”, ,
[“Document Library”, “Insert URL”],
[“FAQ’s”, “Insert URL”],
[“Glossary”, “Insert URL”],
],
[“News You Can Use”, “Insert URL”],
[“Helpful Links”, “Insert URL”],
[“Contact Us”, ,
[“Team 1”, “mailto:insertalias?subject=Website Inquiry”],
[“Team 2”, “mailto:insertalias?subject=Website Inquiry”],
],
];
===================================================
Thanks,
Bob T.