|
Post by Wormopolis on Jan 12, 2009 6:12:49 GMT -8
Browser Tested: IE and FF placement: Main Footer Board remodel.. see preview for example <script type="text/javascript"> <!--
// Main Page Board remodel "Ringworm" // This will most likely NOT work with a category splitter. // By Wormopolis, concept by Æther // Do not repost - Keep Header Intact
if (false) { theCells=document.getElementsByTagName('td'); for (n=theCells.length-1; n>0; n--) { if (theCells[n].width=="66%" && theCells[n].align=="left" && theCells[n].vAlign=="top" && theCells[n].className && theCells[n].className=="windowbg2") { fontCells=theCells[n].getElementsByTagName('font')[0]; var theRow=theCells[n].parentNode; if (theRow.parentNode.rows[0].cells.length==4) { theRow.parentNode.rows[0].deleteCell(1); n--; theRow.parentNode.rows[0].style.display="none"; } theRow.parentNode.rows[0].cells[0].colSpan=1; theRowIndx=theRow.rowIndex; newRow1=theRow.parentNode.insertRow(theRowIndx); newRow2=theRow.parentNode.insertRow(theRowIndx); titleCell=newRow2.insertCell(0); titleCell.colSpan=4; newRow2.style.backgroundColor="#FF0000"; titleCell.appendChild(fontCells); titleCell.align="center"; descCell=newRow1.appendChild(theCells[n+1]); if (descCell.getElementsByTagName('i')[0]) { modDiv=document.createElement('div'); modDiv.appendChild(descCell.getElementsByTagName('i')[0]); modDiv.align="left"; titleCell.insertBefore(modDiv, titleCell.firstChild.nextSibling); } descCell.colSpan=4; descCell.align="center"; theRow.cells[0].width="10%"; theRow.cells[0].align="center"; theRow.cells[0].vAlign="top"; theRow.cells[1].width="30%"; theRow.cells[1].align="center"; theRow.cells[1].vAlign="top"; theRow.cells[1].innerHTML="Threads: "+theRow.cells[1].innerHTML; theRow.cells[2].width="30%"; theRow.cells[2].align="center"; theRow.cells[2].vAlign="top"; theRow.cells[2].innerHTML="Posts: "+theRow.cells[2].innerHTML; theRow.cells[3].width="30%"; theRow.cells[3].align="center"; theRow.cells[3].vAlign="top";
} } } // --> </script>
SEE PREVIEW
|
|