source:
extensions/Icy_Picture_Modify/template/autosize.inc.tpl
@
31887
Last change on this file since 31887 was 11610, checked in by , 13 years ago | |
---|---|
File size: 412 bytes |
Line | |
---|---|
1 | {combine_script id='jquery.autogrow' load='async' require='jquery' path="themes/default/js/plugins/jquery.autogrow-textarea.js"} |
2 | {* Auto size and auto grow textarea *} |
3 | {footer_script require='jquery.autogrow'}{literal} |
4 | jQuery(document).ready(function(){ |
5 | jQuery('textarea').css('overflow-y', 'hidden'); |
6 | // Auto size and auto grow for all text area |
7 | jQuery('textarea').autogrow(); |
8 | }); |
9 | {/literal}{/footer_script} |
Note: See TracBrowser
for help on using the repository browser.