Rev 5796 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2795 | bpr | 1 | !!! wims_chooselist_checked |
2 | !!! wims_chooselist_select |
||
3 | !!! wims_chooselist_option |
||
4 | !!! select : names of the three variables left form, right form, invisible form |
||
5 | !set select_=!words2items $wims_read_parm |
||
6 | |||
7 | !set cnt_chooselist=!linecnt $wims_chooselist_select |
||
8 | !default wims_chooselist_option=style="width:200px;" multiple="multiple" size="$[max(min($cnt_chooselist,15),2)]" |
||
9 | <table id=wims_chooselist border="0" cellpadding="10" cellspacing="0"> |
||
10 | <tr> |
||
11 | <td valign="top"> |
||
12 | <select $wims_chooselist_option name="$(select_[1])" |
||
13 | ondblclick="moveSelections(this.form.elements['$(select_[1])'], this.form.elements['$(select_[2])'], this.form.elements['$(select_[3])'], 'add')"> |
||
14 | $wims_chooselist_select |
||
15 | </select> |
||
16 | </td> |
||
17 | <td align="center"> |
||
18 | <input name="add" value=" >> " type="button" onclick="moveSelections(this.form.elements['$(select_[1])'], |
||
19 | this.form.elements['$(select_[2])'], this.form.elements['$(select_[3])'], 'add'); return false;"> |
||
20 | <br> |
||
21 | <input name="remove" value=" << " type="button" onclick="moveSelections(this.form.elements['$(select_[1])'], |
||
22 | this.form.elements['$(select_[2])'], this.form.elements['$(select_[3])'], 'remove'); return false;"> |
||
23 | </td> |
||
24 | <td valign="top"> |
||
25 | <select $wims_chooselist_option name="$(select_[2])" ondblclick="moveSelections(this.form.elements['$(select_[1])'], |
||
26 | this.form.elements['$(select_[2])'], this.form.elements['$(select_[3])'], 'remove')">$wims_chooselist_checked</select> |
||
27 | <select style="overflow: hidden; visibility: hidden; width: 1px; height: 0;" name="$(select_[3])" |
||
28 | multiple="multiple" size="10">$wims_chooselist_checked</select> |
||
29 | </td> |
||
30 | </tr> |
||
31 | </table> |