Folding lists == Description == This page describes the //folding list// (++++) widget. A folding is a list as ++
    ++ and ++
      ++ but items can be interactively //folded// an //unfolded//. ~~ Note: ,( :style { font-weight: bold; color: red } [ The markups presented in this page are not yet supported on client side programming. They are only available on server side.]) == Synopsis == === Server === ( args ...) ( args ...) ( args ...) === Requirements === Client codes using //foldlists// need to load the script ++hop-foldlist.js++. They also need to load the ++hop-foldlist.css++ style sheet. Hence, documents using //foldlists// must include in their header, the following statement: ( :include "hop-foldlist") == Examples == == Server Definitions == === ++++ === ^ attributes ^ type ^ default ^ short description ^ | :id | string | //random// | element identifier. | | :class | string | //hop-fl// | element class name. | | :spacing | integer | ++0++ | | | :icono | string | //false// | the open image. | | :iconc | string | //false// | the close image. | | :history | obj | _ | enables history recording. | | body | ++++ list | | the list of items. | The argument ++:history++ controls whether an history event is associated with selected a item. When history is enabled, the //back button// of the browser restores previously unfolded item. The history is disabled if ++:history++ is ++#f++. It is enabled if ++:history++ is ++#t++ or if it is not ++#f++ and an ++:id++ value is provided. === ++++ === ^ attributes ^ type ^ default ^ short description ^ | :id | string | //random// | element identifier. | | :class | string | //hop-fl-item// | element class name. | | body | HTML tree | | the body. | When the body of the ++++ is an object built with the ++++ markup, then the item is re-computed each time it is re-open. === ++++ === ^ attributes ^ type ^ default ^ short description ^ | :id | string | //random// | element identifier. | | :class | string | //hop-fl-head// | element class name. | | body | HTML tree | | the body. | == Style == == See also ==