|
Post by ADMIN~! on Oct 12, 2008 15:08:59 GMT -8
<script type='text/javascript'> /* Category Splitter Final Release by Scorpian Version 2 - Image behind category and below boards [url]http://roddyinnov.proboards75.com[/url] */
/*=== Edit These ===*/ var headImg = 'IMAGE HERE'; // URL of head image var headImgHeight = 'HEIGHT OF HEADER HERE'; // Height of head Image var headAlign = 'center'; // Align Head Image to left, center, or right var baseImg = 'IMAGE HERE'; // URL of base image
/*=== Do Not Edit ===*/ var riTable = document.getElementsByTagName('table'); var newHTMLstart = "<table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td><table width='100%' cellspacing='1' cellpadding='4' class='bordercolor' border='0'><tr>"; var newHTMLcat = "<table width='100%' cellspacing='0' cellpadding='0' border='0' style='background-image:url("+headImg+");'><tr><td align='"+headAlign+"' height='"+headImgHeight+"'>"; var newHTMLend = "</table></td></tr></table><center><img src='"+baseImg+"'/></center><div style='height:35;'></div>"; var newStuff = '</table></td></tr></table>';
if(location.href.match(/action=home$/i) || !location.href.match(/action=/i)){ for(a=0; a<riTable.length; a++){ if(riTable[a].cellPadding == 4 && riTable[a].cellSpacing == 1 && riTable[a-1].className == "bordercolor"&& riTable[a].rows[0].cells[0].firstChild.firstChild && riTable[a].rows[0].cells[0].firstChild.firstChild.innerHTML == "Forum Name"){ for(b=0; b<riTable[a].rows.length; b++){ if(riTable[a].rows[b].cells[0].colSpan == 5 && riTable[a].rows[b].cells[0].className == 'catbg' && riTable[a].rows[b].cells[0].align != 'right'){ newStuff += newHTMLcat + riTable[a].rows[b].cells[0].innerHTML + '</td></tr></table>'; newStuff += newHTMLstart; newStuff += '<tr>' + riTable[a].rows[0].innerHTML + '</tr>'; for(c=1; c<riTable[a].rows.length; c++){ if(riTable[a].rows[b+c]){ if(riTable[a].rows[b+c].cells[0].className == 'windowbg'){ newStuff += '<tr>' + riTable[a].rows[b+c].innerHTML + '</tr>'; }else{ newStuff += newHTMLend; break; } }else{ newStuff += newHTMLend; break; } } } } var newTab = riTable[a].parentNode; riTable[a-1].style.backgroundColor = 'transparent'; newTab.innerHTML = newTab.innerHTML.replace(newTab.innerHTML,newStuff); break; } } } </script>
|
|
|
Post by Wispeh-Kins on Oct 12, 2008 15:12:11 GMT -8
Thankes so much swifteh!!!
-huggles- Where does it go, the global header/footer, or the main header and footer?
|
|
|
Post by Shadow on Oct 12, 2008 15:57:55 GMT -8
HAHAA, this will help me so much also! Thank you Swifteh!
|
|