Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Expand Quick Reply (29th Apr 08 at 6:50pm UTC) | | This code will add a link under the quick reply message box that says 'expand' to allow your members to expand the quick reply message box's height.
edit part in red to alter how much it expands.
<script> /*Expand Quick Reply Created By Wrighty Do Not: Rip, Repost or Claim*/
var e = { x: 5, m: get('message','name')[0], check: function(){ if(get('quick_reply_ubbc','id')){ this.do(); } }, do: function(){ var a = document.createElement('a'); a.href='javascript: e.xpand();'; a.appendChild(document.createTextNode('Expand')); this.m.parentNode.appendChild(a); this.m.parentNode.nextSibling.vAlign = 'top'; }, xpand: function(){ this.m.rows = parseInt(this.m.rows + this.x); } }; e.check(); </script>
Global Footer | |
|