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 |
||
15468 | obado | 8 | !default wims_chooselist_option=style="min-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])" |
||
15468 | obado | 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><td> |
||
17 | <input name="add" value=" >> " type="button" class="wims_button" |
||
18 | 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" class="wims_button" |
||
22 | onclick="moveSelections(this.form.elements['$(select_[1])'], |
||
23 | this.form.elements['$(select_[2])'], this.form.elements['$(select_[3])'], 'remove'); return false;"/> |
||
24 | </td><td valign="top"> |
||
12784 | obado | 25 | <select $wims_chooselist_option name="$(select_[2])" ondblclick="moveSelections(this.form.elements['$(select_[1])'], |
15468 | obado | 26 | this.form.elements['$(select_[2])'], this.form.elements['$(select_[3])'], 'remove')">$wims_chooselist_checked</select> |
12784 | obado | 27 | <select style="overflow: hidden; visibility: hidden; width: 1px; height: 0;" name="$(select_[3])" |
15468 | obado | 28 | multiple="multiple" size="10">$wims_chooselist_checked</select> |
2795 | bpr | 29 | </td> |
30 | </tr> |
||
15468 | obado | 31 | </table> |