Post by Game on Sept 6, 2011 0:25:47 GMT -5
Main page layout.
There is a small portion to edit.
For instructions on how to use the code and a live preview of the code, go here
MAIN HEADER
MAIN FOOTER
There is a small portion to edit.
For instructions on how to use the code and a live preview of the code, go here
MAIN HEADER
<style type = "text/css">
//Ultimate Board Mod by Game (CSS Section)
//Please Donot Repost or Edit unless for personal use
//www.gamesdimensions.proboards.com
//PLACEMENT:MAINHEADER
#Main_Table {border-bottom:solid; border-width:1; border-color:black;}
#Board_Name {border-bottom:solid; border-width:1; border-color:black;}
#Board_Name a{font-size:12px; font-weight:bold;text-decoration:none;}
#Nav_Title {text-align:center;border-bottom:solid; border-width:1; border-color:black; font-size:12px; font-weight:bold;}
#Image_Cell {border-right:solid; border-width:1; border-color:black; text-align:center;}
#Board_Description {border-right:solid; border-width:1; border-color:black; vertical-align:top;}
#Nav_Box {border-right:solid; border-width:1; border-color:black;width:100%;text-align:center;}
#Nav_Box a{text-decoration:none;}
#Last_Post {border-bottom:solid; border-width:1; border-color:black;}
</style>
MAIN FOOTER
<script>
//Ultimate Board Mod by Game (Script Section)
//Please Donot Repost or Edit unless for personal use
//www.gamesdimensions.proboards.com
//PLACEMENT:MAINFOOTER
td = document.getElementsByTagName("td")
for(i=0;i<td.length;i++)
if(td[i].className == "windowbg2" && td[i].width == "24%")
{td[i].innerHTML = td[i].innerHTML.replace(/on\s/gi, "Last Post was on ")
.replace(/by\s/gi, ", by ").replace(/in\s/gi, ", in ").replace(/Today/g, "Last Post was Today").replace(/Yesterday/g, "Last Post was Yesterday ")}
br = document.getElementsByTagName("br")
for(i=0;i<br.length;i++)
if(br[i].parentNode.parentNode.className == "windowbg2" && br[i].parentNode.parentNode.width == "24%")
{br[i].style.display = "none"
br[+i].style.display = "none"}
table = document.getElementsByTagName("table")
for(i=0;i<table.length;i++)
if(table[i].width == "100%" && table[i].className == "bordercolor")
{table[i].firstChild.firstChild.firstChild.firstChild.cellPadding="0"
table[i].firstChild.firstChild.firstChild.firstChild.cellSpacing="0"
table[i].firstChild.firstChild.firstChild.firstChild.border="1"}
td = document.getElementsByTagName("td")
for(i=0;i<td.length;i++){
if(td[i].className == "titlebg" && td[i].innerHTML.match(/Forum Name/))
{td[i].parentNode.style.display = "none"}
if(td[i].width == "1%" && td[i].className == "windowbg")
{td[i].style.display = "none"}
if(td[i].className == "catbg" && td[i].align == "right")
{td[i].style.display = "none"}
if(td[i].className == "windowbg2" && td[i].width == "66%")
{td[i].style.display = "none"}
if(td[i].className == "windowbg2" && td[i].width == "24%")
{td[i].style.display = "none"}
}
<!--====================FIRST==BOARD=========================-->
//EDIT HERE
BoardID = ""
Image= ""
Board_Description = ""
Nav_Title = "HOT LINKS"
Link_1 = ""
Link_1_Text = ""
Link_2 = ""
Link_2_Text = ""
Link_3 = ""
Link_3_Text = ""
Link_4 = ""
Link_4_Text = ""
Link_5 = ""
Link_5_Text = ""
//No Need To Edit Below
td = document.getElementsByTagName("td")
for(i=0;i<td.length;i++){
if(td[i].width == "66%" && td[i].className == "windowbg2" && td[i].getElementsByTagName("a") && td[i].getElementsByTagName("a")[0].href.match(new RegExp("board=" +BoardID+ "$")))
{
td[i].nextSibling.nextSibling.nextSibling.firstChild.style.display = "none"
td[i].previousSibling.width = "100%"
td[i].previousSibling.innerHTML="<table id=Main_Table width=100%><tr><td colSpan=2 id=Board_Name>"+td[i].firstChild.innerHTML+"</td><td id=Nav_Title colSpan=1>"+Nav_Title+" </td></tr><tr><td id=Image_Cell width=15%><img src='"+Image+"'></td><td id=Board_Description width=65%>"+Board_Description+" </td><td id=Nav_Box width=20%><br/><a href="+Link_1+">"+Link_1_Text+"<br/><br/><a href="+Link_2+">"+Link_2_Text+"</a><br/><br/><a href="+Link_3+">"+Link_3_Text+"</a><br/><br/><a href="+Link_4+">"+Link_4_Text+"</a><br/><br/><a href="+Link_5+">"+Link_5_Text+"</a><br/><br/></td></tr></table><table width=100%><tr><td colSpan=2 id=Last_Post>"+td[i].nextSibling.nextSibling.nextSibling.firstChild.innerHTML+"</td></tr></table>"
}}
</script>