Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Show/Hide Quick Reply (3rd Apr 08 at 8:12pm UTC) | | This code will as a default hide the quick reply, until you click 'show' on the right hand side of the title
<script> /*Show/Hide Quick Reply Coded By Wrighty Do Not: Rip, Repost or Claim*/
var d = get('quick_reply','id'); if(d){ get('quick_reply','id').rows[1].parentNode.style.display = 'none'; var div = document.createElement('div'); var a = document.createElement('a'); with(a){ onclick = function(){get('quick_reply','id').rows[1].parentNode.style.display = (get('quick_reply','id').rows[1].parentNode.style.display == '')? 'none' : '';}; appendChild(document.createTextNode('Show/Hide')); href = 'javascript: void(0);'; } with(div){ style.cssText = 'float: right'; appendChild(a); } with(d.firstChild.rows[0].cells[0]){ firstChild.style.cssText = 'float: left'; appendChild(div); } } </script>
Global Footer | |
|