|
Post by Isa The Great on Jul 26, 2009 10:34:53 GMT -5
This script removes the title bar that says
Forum Name | Topics | Posts | Last Post
and in the # of topics and # of posts column, it adds the word "threads" and "posts" after the number.
It works fine with category divider scripts (place this code below them though) or without.
Main Footer
<script type="text/javascript"> <!-- /* remove Forum Name | Topics | Posts... and add thread & post info by california */ var td = document.getElementsByTagName("td"); if(location.href.match(/com\/?((\index\.cgi)?\??(action=(logout|change.+?|home))?)?(#.+)?$/)){ for(i=0;i<td.length;i++){ if(td[i].width=="1%" && td[i].innerHTML.match(/\d/)){ if(td[i+1].width.match(/^(1|7)%$/)){ td[i].innerHTML+="<br />threads"; td[i].width="8%"; }else{ td[i].innerHTML+="<br />posts"; td[i].width="7%"; } } if(td[i].width=="8%" && !td[i].innerHTML.match(/thread/)){ td[i].width="4%"; } if(td[i].className=="titlebg" && td[i].innerHTML.match(/Forum Name/i)){ td[i].parentNode.style.display="none"; } } } //--> </script>
|
|