Provides a way to specify a horizontal divider for your bootstrap menu in Lift's SiteMap.
Provides a way to specify a horizontal divider for your bootstrap menu in Lift's SiteMap.
Example:
val index = Menu.i("Home") / "index" : val about = Menu.i("About") / "about" val divider2 = Menu("divider2") / "divider2" //dummy entry only showing a menu divider val navHeader1 = Menu.i("navHeader1") / "navHeader1" //Adds a header (label) to your FoBo.NavList def sitemap = SiteMap( navHeader1 >> LocGroup("nl1") >> FoBo.TBLocInfo.NavHeader, index >> LocGroup("top","nl1",...), : ddLabel >> LocGroup("top",...) >> PlaceHolder submenus( about , divider2 >> FoBo.TBLocInfo.Divider, contact, feedback ) )
v1.0
Add a vertical divider in your bootstrap menu.
Add a vertical divider in your bootstrap menu. For a usage example see the Divider val above.
v1.0
Adds target="_blank" to the link
Adds target="_blank" to the link
v1.2
Adds target="_parent" to the link
Adds target="_parent" to the link
v1.2
Adds target="_self" to the link
Adds target="_self" to the link
v1.2
Adds target="_top" to the link
Adds target="_top" to the link
v1.2
Add nav header(s) to your bootstrap nav list.
Add nav header(s) to your bootstrap nav list. For a usage example see the NavHeader val above.
v1.0
Extends your Lift SiteMap with various common bootstrap menu manipulations such as horizontal and vertical menu dividers and menu labels (labels coming soon).
This object should be used in conjunction with the TB* menu builder objects in net.liftmodules.FoBo.snippet.FoBo snippet's.
Example:
v1.0