Rev 2795 | Rev 12784 | Go to most recent revision | Details | Compare with Previous | 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)]" |
||
5796 | bpr | 9 | <table class="wimscenter wimsnoborder" id="wims_chooselist"> |
2795 | bpr | 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> |
||
5796 | bpr | 17 | <td> |
2795 | bpr | 18 | <input name="add" value=" >> " type="button" onclick="moveSelections(this.form.elements['$(select_[1])'], |
5796 | bpr | 19 | this.form.elements['$(select_[2])'], this.form.elements['$(select_[3])'], 'add'); return false;"/> |
20 | <br/> |
||
2795 | bpr | 21 | <input name="remove" value=" << " type="button" onclick="moveSelections(this.form.elements['$(select_[1])'], |
5796 | bpr | 22 | this.form.elements['$(select_[2])'], this.form.elements['$(select_[3])'], 'remove'); return false;"/> |
2795 | bpr | 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> |