vForums Support > Programming & Coding :: Code Requests & Support :: > [F] Quick Reply - [UBBC/Emoticons]
[F] Quick Reply - [UBBC/Emoticons] - Posted By Nick (nickb) on 20th Mar 08 at 10:27pm
http://freunion.vforums.co.uk
I would like a code that moves the UBBC and Emoticons above the QR box. Because when you have a 700 width forum it messes it up like - clicketh
Thanks,
Darkmage
Re: Quick Reply - [UBBC/Emoticons] - Posted By Michael (wrighty) on 20th Mar 08 at 10:40pm
try:
<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>
Global Footer
Re: Quick Reply - [UBBC/Emoticons] - Posted By Nick (nickb) on 20th Mar 08 at 10:41pm
k thanks, I will try it when I am able to log in.
Re: Quick Reply - [UBBC/Emoticons] - Posted By Michael (wrighty) on 20th Mar 08 at 10:41pm
ok, simply post back if it works or doesn't!
Re: Quick Reply - [UBBC/Emoticons] - Posted By Nick (nickb) on 20th Mar 08 at 11:43pm
It works thanks.
Re: Quick Reply - [UBBC/Emoticons] - Posted By Michael (wrighty) on 20th Mar 08 at 11:47pm
No problem!