Rev | Line | |
---|
[8151] | 1 | {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/ui.core.packed.js"} |
---|
[6547] | 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"> |
---|
| 7 | function 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.