Post by CrAzY_J on Nov 23, 2005 23:06:20 GMT -8
Code Description: This code will add a space between each sub-board.
Code creator: CrAzY_J
Code Placement: Global Footers
<script type="text/javascript">
/* Sub-boards Splitter
created by CRAzY_J
Do not redistribute this code without the creator's permission
global footers*/
var Professor = '30px';
var mojojojo = document.body.getElementsByTagName('table');
if( this.location.href.match(/board=/i) )
{
for( bubbles = 0 ; bubbles < mojojojo.length ; bubbles ++ )
{
if( mojojojo[bubbles].rows[0].cells[0].className == "titlebg" && mojojojo[bubbles].rows[0].cells[0].innerHTML.match(/Sub-Board/) )
{
for( blossom = 2 ; blossom < mojojojo[bubbles].rows.length ; blossom ++ )
{
var buttercup = mojojojo[bubbles].parentNode.parentNode.parentNode.parentNode;
buttercup.parentNode.innerHTML = buttercup.parentNode.innerHTML.replace( mojojojo[bubbles].rows[blossom].innerHTML, '</tr></table></td></tr></table><div style="height:' +Professor+ ';"></div><table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="0000ff" class="bordercolor"><tr><td><table cellpadding="4" cellspacing="1" border="0" width="100%"><tr><td class="titlebg" bgcolor="003300" colspan="2"><font class="titletext" color="66ff99" size="-1"><b>Sub-Boards</b></font></td><td class="titlebg" bgcolor="003300" width="1%" align="center"><font class="titletext" color="66ff99" size="-1"><b>Topics</b></font></td><td class="titlebg" bgcolor="003300" width="1%" align="center"><font class="titletext" color="66ff99" size="-1"><b>Posts</b></font></td><td class="titlebg" bgcolor="003300" width="24%" align="center"><font class="titletext" color="66ff99" size="-1"><b>Last Post</b></font></td></tr><tr>' +mojojojo[bubbles].rows[blossom].innerHTML );
}
}
}
}
</script>
Code creator: CrAzY_J
Code Placement: Global Footers
<script type="text/javascript">
/* Sub-boards Splitter
created by CRAzY_J
Do not redistribute this code without the creator's permission
global footers*/
var Professor = '30px';
var mojojojo = document.body.getElementsByTagName('table');
if( this.location.href.match(/board=/i) )
{
for( bubbles = 0 ; bubbles < mojojojo.length ; bubbles ++ )
{
if( mojojojo[bubbles].rows[0].cells[0].className == "titlebg" && mojojojo[bubbles].rows[0].cells[0].innerHTML.match(/Sub-Board/) )
{
for( blossom = 2 ; blossom < mojojojo[bubbles].rows.length ; blossom ++ )
{
var buttercup = mojojojo[bubbles].parentNode.parentNode.parentNode.parentNode;
buttercup.parentNode.innerHTML = buttercup.parentNode.innerHTML.replace( mojojojo[bubbles].rows[blossom].innerHTML, '</tr></table></td></tr></table><div style="height:' +Professor+ ';"></div><table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="0000ff" class="bordercolor"><tr><td><table cellpadding="4" cellspacing="1" border="0" width="100%"><tr><td class="titlebg" bgcolor="003300" colspan="2"><font class="titletext" color="66ff99" size="-1"><b>Sub-Boards</b></font></td><td class="titlebg" bgcolor="003300" width="1%" align="center"><font class="titletext" color="66ff99" size="-1"><b>Topics</b></font></td><td class="titlebg" bgcolor="003300" width="1%" align="center"><font class="titletext" color="66ff99" size="-1"><b>Posts</b></font></td><td class="titlebg" bgcolor="003300" width="24%" align="center"><font class="titletext" color="66ff99" size="-1"><b>Last Post</b></font></td></tr><tr>' +mojojojo[bubbles].rows[blossom].innerHTML );
}
}
}
}
</script>