.TH "Eliom_tools.HTML5_TOOLS" 3o 2014-07-10 OCamldoc "" .SH NAME Eliom_tools.HTML5_TOOLS \- no description .SH Module type Module type Eliom_tools.HTML5_TOOLS .SH Documentation .sp Module type .BI "HTML5_TOOLS" = .B sig end .sp .sp .sp .sp .PP .B === .B Simple menu .B === .PP .I val menu : .B ?classe:Html5_types.nmtoken list -> .B ?id:string -> .B (([< Eliom_service.get_service_kind ] as 'a, .B [< Eliom_service.registrable ] as 'b, .B [< Eliom_registration.non_ocaml_service ] as 'c) .B Eliom_tools.one_page * .B Html5_types.flow5_without_interactive Eliom_content.Html5.elt list) .B list -> .B ?service:('a, 'b, 'c) Eliom_tools.one_page -> .B unit -> [> `Ul ] Eliom_content.Html5.elt .sp The function .B menu elts () , where .B elts is a list of pair .B (service, content) , creates a list of link towards the .B service s\&. See the Eliom manual for an \&. .sp The optional parameter .B service is used to find which item(s) to highlight (by adding the class .B eliomtools_current to the corresponding .B
  • node)\&. The default is to highlight the item corresponding to the current url\&. .sp The optional parameters .B id and .B classe allow to specify the corresponding attributes in the generated .B