I know there is a code some were for what I want as Wrighty made me it; I do have the code.
Code:
- <script>
- /*UBBC in QR on new line
- Wrighty
- No Repost, rip, or claiming!*/
- if(get('quick_reply','id')){
- var tab = get('quick_reply','id').getElementsByTagName('table')[0];
- var a = tab.insertRow(0).insertCell(0);
- tab.rows[1].cells[1].innerHTML = tab.rows[1].cells[1].innerHTML.replace(/<br\s?\/?>/g,'');
- a.appendChild(tab.rows[1].cells[1]);
- tab.rows[1].cells[0].width = '100%';
- document.quick_reply_form.message.style.width = '99%';
- }
- </script>
But it has not been added to the Database yet.
I need an additional part into this, I want it also to put the UBBC and Smilies in the QR of PM's above the QR box.
Thanks,
Darkmage
Please Wrighty
I'm in the middle of exams. Friday evening is probably the earliest that I can get to you... Though I'll take a quick (2 minutes) look tonight to see if it's just a simple name change!)
ok thanks, I just need it to center the UBBC and Smilies on new line in the QR PM, as well.
<script>
/*UBBC in QR on new line
Including PM Send
Wrighty
No Repost, rip, or claiming!*/
if(get('pm_quick_reply','id') || get('quick_reply','id')){
if(location.href.match(/pm/)){
var tab = get('pm_quick_reply','id').getElementsByTagName('table')[0];
}else{
var tab = get('quick_reply','id').getElementsByTagName('table')[0];
}
var a = tab.insertRow(0).insertCell(0);
tab.rows[1].cells[1].innerHTML= tab.rows[1].cells[1].innerHTML .replace(/<br\s?\/?>/g,'');
a.appendChild(tab.rows[1].cells[1]);
tab.rows[1].cells[0].width = '100%';
document.getElementsByName('message')[0].style.width = '99%';
}
</script>
Try that instead!![]()