source: extensions/ContactForm/themes/cf_button.tpl @ 8151

Revision 8151, 440 bytes checked in by Gotcha, 9 years ago (diff)

bug:2065

Line 
1{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/ui.core.packed.js"}
2<div class="cf-button">
3<input type="button" value="{'cf_hide'|@translate}" onclick="hide('cf_messages');">
4</div>
5{literal}
6<script type="text/javascript">
7function hide(id) {
8  var element = document.getElementById(id);
9  if (null != element) {
10    element.style.visibility = 'hidden';
11    element.style.display = 'none';
12  }
13}
14</script>
15{/literal}
Note: See TracBrowser for help on using the repository browser.