|
Post by Hechizero on Mar 19, 2005 1:59:41 GMT
Script Name: Change catbg and titlebg rows order Description: Change the order that the catbg and titlebg rows are presented moving the title row below the category name row. Version: 1.0
Main Page Footer:
<script type="text/javascript"> /* Created by Hechizero Change catbg and titlebg rows order v1.0 This code may not redistributed without the express permission from its creator. This header must stay intact at all times. */ if (location.href.match(/\.com(\/(index\.cgi(\?(action=(log|mar)\w+)?|#\w+)?)?)?$/i)) { var trs=document.getElementsByTagName('tr'); for (var h=0;h<trs.length;h++) { if (trs[h].cells.length>1 && trs[h].cells[0].className=='titlebg' && trs[h+1].cells[0].className=='catbg') { trs[h].parentNode.insertBefore(trs[h+1],trs[h]); } } } </script>
Note: If you're using my dividing categories script put this code BELOW the category dividing script.
|
|