That doesn't apply if you're not using vB though.Pretty sure this does it...
AdminCP > vBulletin options > Message Posting and Editing Options > Quick Reply Enabled > Yes - Show Enhanced (WYSIWYG) Editor Toolbar
...
<br /><textarea name="body" cols="70" rows="10" id="mailbody"></textarea>
<script type="text/javascript"> <!--
document.write ('<br /><div><a href="javascript:bigger();"><img src="./img/bigger.png" alt="Bigger" class="noBorder" /></a> <a href="javascript:smaller();"><img src="./img/smaller.png" alt="Smaller" class="noBorder" /></a> </div>');
// -->
</script>
<script type="text/javascript"> <!--
function bigger() {
var currentSize = document.getElementById('mailbody').rows;
var nextSize = currentSize+2;
document.getElementById('mailbody').rows = nextSize;
}
function smaller() {
var currentSize = document.getElementById('mailbody').rows;
var nextSize = currentSize-2;
document.getElementById('mailbody').rows = nextSize;
} // -->
</script>
No problem, I'm sure there's a way to simplify it further, I wrote that quickly when making a design ages ago 😀
If I recall, the JS needed to be after the element we're resizing. Though you can try playing about with it 🙂
And yes, onclick can be used, I just used href as the links are being written by JS, therefore anyone who has JS disabled wont see them anyway. 🙂