source: trunk/themes/default/template/include/autosize.inc.tpl @ 8162

Last change on this file since 8162 was 8162, checked in by rvelices, 13 years ago

jquery upgrade to 1.4.4

  • Property svn:eol-style set to LF
File size: 492 bytes
Line 
1{combine_script id='jquery' load='async' path='themes/default/js/jquery.min.js'}
2{combine_script id='jquery.autogrow' load='async' require='jquery' path='themes/default/js/plugins/jquery.autogrow-textarea.js'}
3{* Auto size and auto grow textarea *}
4{footer_script require='jquery.autogrow'}{literal}
5jQuery(document).ready(function(){
6        jQuery('textarea').css('overflow-y', 'hidden');
7        // Auto size and auto grow for all text area
8        jQuery('textarea').autogrow();
9});
10{/literal}{/footer_script}
Note: See TracBrowser for help on using the repository browser.