html-minimalist-0.14: Minimalist haskell html library

Safe HaskellNone

Text.HTML.Light.Composite.Menu

Description

Menu constructors.

Synopsis

Documentation

type Menu_Entry = (String, String, Maybe String)Source

A menu entry is (name,identifier,link).

type Menu_C = Menu_P -> String -> [Menu_Entry] -> String -> ContentSource

Menu constructor.

nav_menu_list :: Menu_CSource

Make a nav menu of class ty with a ul structure. The entry corresponding to identifier h is marked with the class here.

nav_menu_span :: Menu_CSource

Variant of nav_menu_list using span elements.