Slide 11.18: WML selection Slide 11.20: WML selection (cont.) Home |
SELECT
Tag
<option>
elements where each <option>
element contains one item to be displayed in the list.
For example,
<select> <option>text</option> <option>text</option> </select>Some of its attributes are
name
: Names the variable that is set with the result of the selection.title
: Provides a string or text used to describe or provide additional information about the link.multiple
: Sets whether multiple items can be selected. Default is false
.OPTION
Tag
<option>
tags.
For example,
<option> ..text ..<img> ..<onevent> </option>Some of its attributes are
value
: Sets the value to be used when setting the name
variable in the <select>
element.
onpick
: Provides the URL that is to be loaded when the item in the <option>
element is selected or unselected.