Any type of HTML list structure or other block level elements may be used as the foundation for a menu widget. This is accomplished by defining specific NodFire class names on the structural elements of the menu content. The widget and core CSS apply functionality and styling by looking for the pre-defined class names vs. specific tag names or parent and child nodes.
Add any content to menu items without interaction or styling conflicts. Sub menus and links may be wrapped in multiple ancestor nodes. This makes rounded corners, tab styles, drop shadows, and similar custom design elements easy to implement.
The example below shows how to specify the class names on a simple nested unordered list structure for use with the menu widget. Additional details on class names and how to apply them is available in the CSS foundation document.
Any type of structure from unordered lists, to definition lists, to plain DIVs may be used as the building blocks for a menu. Different structures may also be nested, e.g. a definition list as a sub menu nested in a main menu based on a unordered list. Below are examples of some typical structure types.
The items in a structure may include links, titles, custom dividers, mega content (complex content with multiple links), and more. There is no limitation on what you decide to do with a menu item. The example below shows a sub with a single menu item containing complex mega item content.