ME!
Moderator
~Remanifesting-Eternal.~
Posts: 778
|
Post by ME! on Jun 10, 2006 14:14:19 GMT
This Code is Based on the Quick reply mod found here, this will add four buttons to the Quick reply Area [Shrink] [Reduce] | [Extend] [Stretch] you can manipulate, the height and width of the Quick Reply Text area. Also it center Aligns the Quick reply so you can Edit the part in red to ajust that alignment GLOBAL FOOTER<script type="text/javascript"> <!-- /*Quick Reply Size Mod - Dregond Do not repost Without Permission*/
var font = document.getElementsByTagName("font"); var message = document.getElementsByName('message')[0];
if(location.href.match(/action=display/)){ for(i=font.length-1; i>0; i--){ if(font.innerHTML.match(/box: Alt\+Q/)){ font.innerHTML = '<br><br>[<a href="javascript: shrink()">Shrink</a>]&nb'+'sp; [<a href="javascript: reduce()">Reduce</a>] &nb'+'sp; | &nb'+'sp; [<a href="javascript: extend()">Extend</a>]&nb'+'sp; [<a href="javascript: stretch()">Stretch</a>]'; quickAlign = font.parentNode.parentNode.parentNode.parentNode; quickAlign.firstChild.align = 'center'; break; } } function extend(){ message.rows = message.rows+2; } function stretch(){ message.cols = message.cols+2; } function reduce(){ if(message.rows > 2 ) message.rows = message.rows-2; } function shrink(){ message.cols = message.cols-2; } }
// --> </script>
|
|
Dark
Member
Posts: 146
|
Post by Dark on Jun 15, 2006 20:00:48 GMT
Excelent code Dre! I'm going to use it on my board ;D
|
|
|
Post by johnbird on Aug 30, 2006 15:15:23 GMT
yea its good but can i remove 2 of them or not
|
|
ME!
Moderator
~Remanifesting-Eternal.~
Posts: 778
|
Post by ME! on Sept 1, 2006 4:02:41 GMT
which two you want removed ?
|
|