|
Post by Wormopolis on Jan 5, 2009 2:06:18 GMT -8
Browser tested: IE and FF placement: global footer
changes the background in the Quick Reply around the text area.
<script type="text/javascript"> <!--
// Quick Reply Background editor by WORMOPOLIS // Please keep header intact // wormocodes.proboards.com var bgImg = "http://i197.photobucket.com/albums/aa250/WORMOPOLIS/Dead_body_final_lp.jpg";
var iTable = document.getElementsByTagName("table"); for(t = 0; t < iTable.length; t ++){ if(iTable[t].cellPadding == "4" && iTable[t].cellSpacing == "1" && iTable[t].rows[0].innerHTML.match(/>Quick Reply</)){ var qrCell = iTable[t].rows[1].cells[0];
qrCell.style.backgroundImage= 'url("'+bgImg+'")';
} }
//--> </script>
preview: See quick reply box below!
|
|
JJ
Not New Member
Posts: 5
JJ said 0 great things
|
Post by JJ on Jul 6, 2009 14:42:09 GMT -8
Neat code, but you must have removed it here, so a preview would be nice. I tried it, it looks good.
|
|
|
Post by Wormopolis on Jul 7, 2009 0:32:57 GMT -8
woah.. you are right. I will investigate where that went to...
EDIT: there we go. I apparently forgot to move the preview code from the submissions board when I moved the post. Thank you for catching that!
|
|