deadend123
Junior Member
testing custom title
Posts: 68
deadend123 said 0 great things
|
Post by deadend123 on Aug 3, 2009 14:25:09 GMT -8
I'm requesting for a code that makes the background of the stickied threads the color I would want it to be. For example: The "Off-Topic" thread is a sticky and I want the stickies to look like that.
|
|
|
Post by Wormopolis on Aug 3, 2009 23:20:21 GMT -8
well.. the only way I can think of to get this to work would be have it recognize the image you are using for sticky and stickylocked threads. Do you use the same images in every skin or are there multiple images?
|
|
deadend123
Junior Member
testing custom title
Posts: 68
deadend123 said 0 great things
|
Post by deadend123 on Aug 4, 2009 0:21:17 GMT -8
Multiple images.
|
|
|
Post by Wormopolis on Aug 4, 2009 21:00:16 GMT -8
I have to figure out a way to identify sticky threads if the image for stickies isnt the default.. stay tuned.
|
|
deadend123
Junior Member
testing custom title
Posts: 68
deadend123 said 0 great things
|
Post by deadend123 on Aug 4, 2009 21:13:34 GMT -8
Okay.
|
|
|
Post by Wormopolis on Aug 9, 2009 7:24:28 GMT -8
<script type="text/javascript"> <!-- // Sticky Thread Color change // by Wormopolis - www.wormocodes.comvar newColor="333333"; function mouseOutHighlightCellSticky(tcell) { tcell.style.backgroundColor=newColor; } for (tds=document.getElementsByTagName('td'), i=0; i<tds.length; i++) { if (tds .width=="5%"&& tds.className.match(/windowbg/)) { if (tds.getElementsByTagName('img').length && tds.getElementsByTagName('img')[0].src.match(/sticky/i)) { tds.nextSibling.nextSibling.style.backgroundColor=newColor; tds.nextSibling.nextSibling.onmouseout=function () { mouseOutHighlightCellSticky(this);setWindowStatus('');return true; }; } } }
// --> </script>
|
|