Changeset 2604


Ignore:
Timestamp:
Sep 27, 2008, 12:52:29 AM (16 years ago)
Author:
vdigital
Message:

Restored in double_select.tpl: doubleSelect are jQuery resizable (based on a rub idea).

Location:
trunk/admin/template/goto
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/template/goto/double_select.tpl

    r2603 r2604  
    11{* $Id$ *}
     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
    25<table class="doubleSelect">
    36  <tr>
     
    1922  </tr>
    2023</table>
     24
     25{literal}
     26<script type="text/javascript">
     27  jQuery().ready(function(){
     28    jQuery(".doubleSelect select.categoryList").resizable({
     29    handles: "w,e",
     30    animate: true,
     31    animateDuration: "slow",
     32    animateEasing: "swing",
     33    preventDefault: true,
     34    preserveCursor: true,
     35    autoHide: true,
     36    ghost: true
     37    });
     38  });
     39</script>
     40{/literal}
  • trunk/admin/template/goto/footer.tpl

    r2603 r2604  
    4343    // Auto size for all text area
    4444    jQuery("TEXTAREA").growfield();
    45     // All admin categoryList are resizable
    46     jQuery(".doubleSelect, .categoryList").resizable({
    47       knobHandles: false,
    48       animate: true,
    49       animateDuration: "slow",
    50       animateEasing: "swing",
    51       preventDefault: true,
    52       preserveCursor: true,
    53       autoHide: true,
    54       ghost: true
    55     });
    5645  });
    5746</script>
Note: See TracChangeset for help on using the changeset viewer.