Last change
on this file since 2682 was
2614,
checked in by patdenice, 16 years ago
|
Put resizable and growfield scripts on each page where is needed.
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.3 KB
|
Rev | Line | |
---|
[2531] | 1 | {* $Id: double_select.tpl 2614 2008-09-27 21:00:12Z patdenice $ *} |
---|
[2604] | 2 | {known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"} |
---|
| 3 | {known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"} |
---|
| 4 | |
---|
[2614] | 5 | <script type="text/javascript"> |
---|
| 6 | jQuery().ready(function(){ldelim} |
---|
| 7 | jQuery(".doubleSelect select.categoryList").resizable({ldelim} |
---|
| 8 | handles: "w,e", |
---|
| 9 | animate: true, |
---|
| 10 | animateDuration: "slow", |
---|
| 11 | animateEasing: "swing", |
---|
| 12 | preventDefault: true, |
---|
| 13 | preserveCursor: true, |
---|
| 14 | autoHide: true, |
---|
| 15 | ghost: true |
---|
| 16 | }); |
---|
| 17 | }); |
---|
| 18 | </script> |
---|
| 19 | |
---|
[2531] | 20 | <table class="doubleSelect"> |
---|
| 21 | <tr> |
---|
| 22 | <td> |
---|
| 23 | <h3>{$L_CAT_OPTIONS_TRUE}</h3> |
---|
[2596] | 24 | <select class="categoryList" name="cat_true[]" multiple="multiple" size="30"> |
---|
| 25 | {html_options options=$category_option_true selected=$category_option_true_selected} |
---|
| 26 | </select> |
---|
[2531] | 27 | <p><input class="submit" type="submit" value="»" name="falsify" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p> |
---|
| 28 | </td> |
---|
| 29 | |
---|
| 30 | <td> |
---|
[2596] | 31 | <h3>{$L_CAT_OPTIONS_FALSE}</h3> |
---|
| 32 | <select class="categoryList" name="cat_false[]" multiple="multiple" size="30"> |
---|
| 33 | {html_options options=$category_option_false selected=$category_option_false_selected} |
---|
| 34 | </select> |
---|
| 35 | <p><input class="submit" type="submit" value="«" name="trueify" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p> |
---|
| 36 | </td> |
---|
[2531] | 37 | </tr> |
---|
[2600] | 38 | </table> |
---|
Note: See
TracBrowser
for help on using the repository browser.