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

Last change on this file since 5123 was 5123, checked in by plg, 14 years ago

feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.

  • Property svn:eol-style set to LF
File size: 468 bytes
Line 
1{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"}
2{known_script id="jquery.autogrow" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.autogrow-textarea.js"}
3
4{* Auto size and auto grow textarea *}
5{literal}
6<script type="text/javascript">
7  jQuery().ready(function(){
8    jQuery('textarea').css('overflow-y', 'hidden');
9    // Auto size and auto grow for all text area
10    jQuery('textarea').autogrow();
11  });
12</script>
13{/literal}
Note: See TracBrowser for help on using the repository browser.