select is what known as LISTBOX in Windows. In h-smile select is extended to support so called TreeView functionality and listbox with multiple selections.
that have this behavior applied by default (see master style sheet):
<select size=N>…</select> , where N is number greater than 1<widget type=“select”></widget>
In h-smile <select> can have any arbitrary markup inside but following elements have special meaning:
<option>…</option> - option element - item of the list.<options>…</options> - container of other option and/or options - node of the tree. <optgroup>…</optgroup> - container of options - grouping element.this behavior knows about:
size=“N” - number of visible itemsin the list.multiple - if defined allows to select more than one item.multiple=“checks” - allows to select more than one item and <option>s rendered with check marks. Besides of standard set of events (mouse, keyboard, focus) behavior:select generates:
<options> (tree node) was changed: collapsed or expanded. Field target of event structure is a reference to the node element that was changed.<option> - either content of value attribute or text of the <option>.<option>s.options element);options element);<select> and its content, see master style sheet and html_samples/forms/selects.htm and nearby.