|
Post by Wormopolis on Dec 11, 2009 8:22:48 GMT -8
Browser Tested: IE and FF placement: board/global footer
sets background of sticky threads to a different normal color
Code:
<script type="text/javascript"> <!-- // Sticky Thread Color change // v1.0 // by Wormopolis - www.wormocodes.com
var newColor="333333";
function mouseOutHighlightCellSticky(tcell) { tcell.style.backgroundColor=newColor; }
for (tds=document.getElementsByTagName('td'), i=0; i<tds.length; i++) { if (tds[i].width=="5%"&& tds[i].className.match(/windowbg/)) { if (tds[i].getElementsByTagName('img').length && tds[i].getElementsByTagName('img')[0].src.match(/sticky/i)) { tds[i].nextSibling.nextSibling.style.backgroundColor=newColor; tds[i].nextSibling.nextSibling.onmouseout=function () { mouseOutHighlightCellSticky(this);setWindowStatus('');return true; }; } } }
// --> </script>
preview: none yet
|
|