inherit
70565
0
Sept 26, 2018 5:22:43 GMT -8
Marc
4,107
January 2006
cr0w
|
Post by Marc on Aug 30, 2006 0:38:03 GMT -8
I have a bunch of unreleased codes that i'll be submitting over the next little while. Here's one from late June.
I saw this code on another forum way back in February, and after hours of searching, and being unable to find the forum, i decided to make it myself. What this code does is it removes the "Posts" coloumn, and combines it with the "Topics" coloumn. Preview: ClickityAdd To: Global Footers. <script type="text/javascript"> <!-- //Remodel Board Stats by Cr0w //Copyright 2006 //Do not repost without permission
//Variables var textPos="center" //Alignment of "Threads" and "Posts"(left, right, or center) var fontClr="000000" //Type in the color you want the text to be
//Do Not Edit Below var td= document.getElementsByTagName("td"); for(t=0;t<td.length;t++){ if(td[t].innerHTML.match(/Posts/) && td[t].width=="1%"){ td[t].style.display="none"; td[t-1].innerHTML = "Board Stats"; } } for(u=0;u<td.length;u++){ if(td[u].colSpan=="5" && !location.href.match(/action=pm/)){ td[u].colSpan="4"; } } for(v=0;v<td.length;v++){ if(td[v].width=="66%" && td[v].className=="windowbg2" && td[v].vAlign=="top" && td[v].align=="left"){ var ThreadNum = td[v+1].innerHTML; var PostNum = td[v+2].innerHTML; td[v+1].innerHTML = '<div align="'+textPos+'"><font color="'+fontClr+'"><b>Threads: </b>'+ThreadNum+'<br /><b>Posts: </b>'+PostNum+'</font></div>'; td[v+2].style.display="none"; td[v+1].width="11%" } } //--> </script>
|
|