| | 144 | |
|---|
| | 145 | == Drop-down selection boxes == |
|---|
| | 146 | |
|---|
| | 147 | The controls plugin adds support for drop-down boxes; these are instanced through the RML tag <select>, with individual options specified within the selection element with <option> tags. |
|---|
| | 148 | |
|---|
| | 149 | === Generated elements === |
|---|
| | 150 | |
|---|
| | 151 | The ''select'' element generates three hidden elements: |
|---|
| | 152 | * ''selectvalue'': The container element for the selected option. |
|---|
| | 153 | * ''selectarrow'': The button rendered to the right of the value element. |
|---|
| | 154 | * ''selectbox'': The box containing the options. The visibility of this element is toggled when the arrow or value elements are clicked on, or when an option is selected. |
|---|
| | 155 | |
|---|
| | 156 | [[Image(styleguide_2.gif, nolink)]] |