Did you know ... | Search Documentation: |
Pack weblog -- prolog/nav/menu.pl |
Usually ID is a ul item, and it turns the entire list into a hierarchical menu.
\wl_menu(mymenu), ul(id(mymenu), [ li(a(href(#), 'Menu 1')), li([a(href(#), 'Has Submenu'), ul([ li(a(href(#), 'Sub 1')), li(a(href(#), 'Sub 2')) ])])])