|
Post by acoolie530 on Apr 27, 2005 1:01:39 GMT
Name: Sticky Thread Colors Compatibility: Firefox/IE Edit: Colors Placement: Board Footers Features: Sticky Threads have a different color than normal threads
<script> //Sticky thread colors by ACoolie. This header must stay in tact. var color = "#HIGHLIGHT COLOR" var td = document.getElementsByTagName("td"); for(var y=0;y<td.length;y++){ if(td[y].width=="48%" && td[y-2].innerHTML.match(/(poll|poll_locked|sticky|stickylock)\./) && td[y].vAlign=="middle" && td[y].className=="windowbg") td[y].getElementsByTagName("a")[0].style.color = color } </script>
After my 3rd code today, im going to go to sleep *yawn*
I forgot to make variables for the images so if you want to change the image urls if you use different names besides "sticky.gif" and "poll.gif", then change the bold in this line:
|
|