Changeset 2653 for trunk/admin/template/goto
- Timestamp:
- Oct 4, 2008, 3:54:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/template/goto/include/autosize.inc.tpl
r2641 r2653 1 1 {* $Id$ *} 2 2 {known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"} 3 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"} 4 {known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} 3 {known_script id="jquery.autogrow" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.autogrow-textarea.js"} 5 4 6 5 {* Auto size and auto grow textarea *} … … 8 7 <script type="text/javascript"> 9 8 jQuery().ready(function(){ 9 jQuery('textarea').css('overflow-y', 'hidden'); 10 10 // Auto size and auto grow for all text area 11 jQuery("TEXTAREA").growfield({ 12 animate: false 13 }); 11 jQuery('textarea').autogrow(); 14 12 }); 15 13 </script>
Note: See TracChangeset
for help on using the changeset viewer.