aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/include/resize.inc.tpl
blob: b7076a752cd7397b1bea23dee5a2448564b4ffdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{combine_script id='jquery' load='async' path='themes/default/js/jquery.packed.js'}
{combine_script id='jquery.ui' load='async' require='jquery' path='themes/default/js/ui/packed/ui.core.packed.js'}
{combine_script id='jquery.ui.resizable' load='async' require='jquery.ui' path='themes/default/js/ui/packed/ui.resizable.packed.js'}

{* Resize possible *}
{footer_script require='jquery.ui.resizable'}{literal}
  jQuery().ready(function(){
    // Resize possible for list
    jQuery(".categoryList").resizable({
      handles: "all",
      animate: true,
      animateDuration: "slow",
      animateEasing: "swing",
      preventDefault: true,
      preserveCursor: true,
      autoHide: true,
      ghost: true
    });
  });
{/literal}{/footer_script}