Please login or register. Welcome to the Studio, guest!


Quick Links:


newBookmarkLockedFalling

Chris

Chris Avatar

******
Head Coder

19,519


June 2005
<script type="text/Javascript">
// Category Head/Base Images by Chris
// Do not redistribute without permisison of the creator

var headIMG = "URL OF HEAD IMAGE";
var footIMG = "URL OF FOOT IMAGE";

// Don't edit
var aTB = document.getElementsByTagName("table");
if(location.href.match(/action=home/i) || !location.href.match(/action=/i)){
var head = document.createElement("img");
head.src = headIMG;
var base = head.cloneNode(false);
base.src = footIMG;
for(a=0;a<aTB.length;a++){
if(aTB[a].className == "border_table" && aTB[a].rows[0].cells[0].colSpan == 5){
aTB[a].parentNode.insertBefore(head.cloneNode(true),aTB[a]);
aTB[a].parentNode.insertBefore(base.cloneNode(true),aTB[a].nextSibling);
}
}
}
</script>


This'll place head/base images on top of each category on the main page.

Main Footers.

newBookmarkLockedFalling