|
<script type="text/Javascript"> // Join Categories by Chris // Do not redistribute without permission of the creator // No need to edit anything
var aTB = document.getElementsByTagName("table"); if(location.href.match(/action=home/i) || !location.href.match(/action=/i)){ var row = false; var tab = document.createElement("table"); if(document.all) var x = tab.appendChild(document.createElement("tbody")); else var x = tab; tab.className = "border_table"; tab.cellSpacing = 1; tab.width = "100%"; for(a=0;a<aTB.length;a++){ if(aTB[a].className == "border_table" && aTB[a].rows[1] && aTB[a].rows[0].cells[0].className == "table_header"){ if(!row){ var div = document.createElement("div"); aTB[a].parentNode.insertBefore(div,aTB[a]); row = true; x.appendChild(aTB[a].rows[1].cloneNode(true)); } x.appendChild(aTB[a].rows[0]); while(aTB[a].rows[1]) x.appendChild(aTB[a].rows[1]); aTB[a].parentNode.removeChild(aTB[a]); a--; } } div.appendChild(tab); }
</script>
Place the module in your main footers.
What this code does is it overrides the default cat splitter and rejoins the categories together.
|
|
|
|