aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/include/autosize.inc.tpl
blob: 79152302c82ad521715dc59428c7ba57b2dff0ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{* $Id$ *}
{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}

{* Auto size and auto grow textarea *}
{literal}
<script type="text/javascript">
  jQuery().ready(function(){
    // Auto size and auto grow for all text area
    jQuery("TEXTAREA").growfield({
      animate: false
    });
  });
</script>
{/literal}