|
Post by Fred Weasley on Aug 29, 2006 13:59:47 GMT -5
|
|
|
Post by Harry Potter on Aug 29, 2006 14:04:02 GMT -5
thanks!
|
|
Kayla Beckett
Slytherin
First Year
.x.Oh But Don't Make A Sound And Hope That Nobody Knows.x.
Posts: 9
|
Post by Kayla Beckett on Sept 2, 2006 14:31:08 GMT -5
Here's a code and it'll divide your categories: (Main Footers)
<script type="text/javascript"> <!-- /* Dividing Categories - Created by Peter
This code cannot be reposted anywhere other than SSDesigns or ProBoards Support.
This header must stay intact. */
// Size of the gap between categories var gapSize = [color=red]35[/color];
var tabHTML = '<td id="rr" colspan="5"></table></td></tr></table><div style="height:' + gapSize + '"></div><table width="100%" cellspacing="0" cellpadding="0" class="bordercolor"><tr><td><table cellpadding="4" cellspacing="1" width="100%"><tr>';
if(location.href.match(/\.com(\/|.+cgi(\?|#.+|\?\w+=home)?)?$/i)){ var tBod = document.getElementsByTagName("tbody"); for(tb = 0; tb < tBod.length; tb ++){ for(r = 2; r < tBod.item(tb).rows.length; r ++){ var tBodObj = tBod.item(tb).rows.item(r).cells.item(0); if(tBodObj.className == "catbg" && tBodObj.colSpan == "5" && tBodObj.align != "right"){ var c = tabHTML + tBod.item(tb).firstChild.innerHTML + "</tr>"; var p = tBodObj.parentNode.innerHTML; var tBodPar = tBod.item(tb).parentNode.parentNode.parentNode.parentNode.parentNode; tBodPar.parentNode.innerHTML = tBodPar.parentNode.innerHTML.replace(p, c + p); } if(tBod.item(tb).rows.item(r).firstChild.id == "rr"){ tBod.item(tb).rows.item(r).style.display = "none"; } } } }
//--> </script>
Sometimes you have to enter it more than once
And here's a code that will remove "Forum Name": (Main Footers)
<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=(ma.+ad|logout|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>
|
|