Changeset 10035 for extensions/ContactForm/themes/cf_form.tpl
- Timestamp:
- Apr 4, 2011, 2:51:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/themes/cf_form.tpl
r8479 r10035 1 {html_head} 2 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 3 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} 4 {known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.resizable.packed.js"} 5 {/html_head} 1 {combine_css path="plugins/ContactForm/include/contactform.css"} 2 {combine_script id="ContactForm" load="async" path="plugins/ContactForm/include/contactform.js"} 6 3 7 {literal} 8 <script type="text/javascript"> 9 jQuery().ready(function(){ 10 // Resize possible for textarea 11 jQuery("#cf_message").resizable({ 12 handles: "all", 13 animate: true, 14 animateDuration: "slow", 15 animateEasing: "swing", 16 preventDefault: true, 17 preserveCursor: true, 18 autoHide: true, 19 ghost: true 20 }); 21 }); 22 jQuery().ready(function(){ 23 // Resize possible for textarea 24 jQuery(".cf-input").resizable({ 25 handles: "e", 26 animate: true, 27 animateDuration: "slow", 28 animateEasing: "swing", 29 preventDefault: true, 30 preserveCursor: true, 31 autoHide: true, 32 ghost: true 33 }); 34 }); 35 4 {footer_script}{literal} 36 5 function cf_validate() { 37 6 var items = new Array('cf_from_name','cf_from_mail','cf_subject','cf_message'); … … 58 27 return true; 59 28 } 60 </script> 61 {/literal} 29 {/literal}{/footer_script} 30 62 31 <div id="autre_content" class="contact-form"> 63 32 <form method="post" action="{$CF.F_ACTION}" class="filter" id="contactform" onsubmit="return cf_validate();">
Note: See TracChangeset
for help on using the changeset viewer.