@collapsibleHeaderBeginXsl(ID, [TITLE], [Hn], [INITSTATE])

Inserts a header line with navigation AND ability to "collapse it".

The following parameters are recognized:

ID

The unique ID to associate with the header line (the area ID will be assigned: ID + "-area" and the icon will be assigned: ID + "-icon")

[TITLE]

The text to appear on the header line.

[Hn]

The header level to use (defaults to "h2").

[INITSTATE]

The initial "collapse" state. Pass "none" to initially hide, or "block" to initially show (any CSS "display" value is legal).

This macro is defined as:

<script@htmlAttr("type","text/javascript")>
  setNavLinkHome("@topDir()/index.cgi","","@exitAnchor()");
  addCollapsibleHeader("@param(1)","@param(0)","@param(3)","@fnb("@param(2)","h2")","@imageDirUrl()/");

@define("wuiHtmlHeaderAnchor","@param(0)","now")
</script>
<div
  @htmlAttr("id","@param(0)-area")
  @htmlAttr("style","display: @fnb("@param(3)","block");")>