Position the text counter for the MX Widget Restricted Textarea

Position the text counter for the MX Widget Restricted Textarea

To reposition the counter to a more suitable position edit the following file;
divider

To reposition the counter to a more suitable position edit the following file;

includes/wdg/classes/RestrictedTextArea.js

Line 42 - 45

this.container.innerHTML = '<table class="MXW_Spin_table" border="0" cellpadding="0" cellspacing="0"><tr><td class="MXW_Spin_table_td"></td><td class="MXW_Spin_table_td"><div class="MXW_Spin"></div></td></tr></table>';
this.input.style.margin="-1px 0px";
this.container.firstChild.rows[0].firstChild.appendChild(this.input);

Changes to:

this.container.innerHTML = '<table class="MXW_Spin_table" border="0" cellpadding="0" cellspacing="0" style =" margin-top: 10px; margin-left: 120px;"><tr><td class="MXW_Spin_table_td"></td><td class="MXW_Spin_table_td"><div class="MXW_Spin"></div></td></tr></table>';
//this.input.style.margin="-1px 0px";
//this.container.firstChild.rows[0].firstChild.appendChild(this.input);
Written by:  - 21 Jun, 2010