Post by Akai Shuichi on Apr 27, 2005 21:19:54 GMT
Main Footer:
<script>
// Created By Conan - SolidSnake Designs
// View Staff In New Column v2.0 - Cross-Browser
Object = document.getElementsByTagName('TR');
for(x=0;x<Object.length;x++){
for(i=0;i<Object.item(x).cells.length;i++){
if(Object.item(x).cells.item(i).innerHTML.match(/Forum Name<\/b>/i) && Object.item(x).cells.item(i).className=="titlebg"){
ObjIn = Object.item(x).insertCell(-1)
ObjIn.className = 'titlebg'
ObjSize = document.createElement('font')
ObjSize.size = '2'
ObjSize.className = 'text1'
ObjText = document.createTextNode('Staff')
ObjSize.appendChild(ObjText)
ObjIn.appendChild(ObjSize)
}
}
}
Object = document.getElementsByTagName('TD');
for(c=0;c<Object.length;c++){
if(Object.item(c).className=="catbg" && Object.item(c).height=="18" && Object.item(c).colSpan=="5"){
Object.item(c).colSpan = "6"
}
}
Object = document.getElementsByTagName('TR');
for(i=0;i<Object.length;i++){
for(c=0;c<Object.item(i).cells.length;c++){
if(Object.item(i).cells.item(c).className=="windowbg2" && Object.item(i).cells.item(c).width=="66%"){
ObjCell = Object.item(i).insertCell(-1)
ObjCell.className = 'windowbg2'
CellFont = document.createElement('font')
CellFont.size = '2'
ObjLink = document.createElement('A')
ObjLink.href = 'index.cgi?action=mlstaff'
InnerClick = document.createTextNode('View Staff')
ObjLink.appendChild(InnerClick)
CellFont.appendChild(ObjLink)
ObjCell.appendChild(CellFont)
}
}
}
</script>
This one is Cross-Browser
Preview: visualproto.proboards39.com
<script>
// Created By Conan - SolidSnake Designs
// View Staff In New Column v2.0 - Cross-Browser
Object = document.getElementsByTagName('TR');
for(x=0;x<Object.length;x++){
for(i=0;i<Object.item(x).cells.length;i++){
if(Object.item(x).cells.item(i).innerHTML.match(/Forum Name<\/b>/i) && Object.item(x).cells.item(i).className=="titlebg"){
ObjIn = Object.item(x).insertCell(-1)
ObjIn.className = 'titlebg'
ObjSize = document.createElement('font')
ObjSize.size = '2'
ObjSize.className = 'text1'
ObjText = document.createTextNode('Staff')
ObjSize.appendChild(ObjText)
ObjIn.appendChild(ObjSize)
}
}
}
Object = document.getElementsByTagName('TD');
for(c=0;c<Object.length;c++){
if(Object.item(c).className=="catbg" && Object.item(c).height=="18" && Object.item(c).colSpan=="5"){
Object.item(c).colSpan = "6"
}
}
Object = document.getElementsByTagName('TR');
for(i=0;i<Object.length;i++){
for(c=0;c<Object.item(i).cells.length;c++){
if(Object.item(i).cells.item(c).className=="windowbg2" && Object.item(i).cells.item(c).width=="66%"){
ObjCell = Object.item(i).insertCell(-1)
ObjCell.className = 'windowbg2'
CellFont = document.createElement('font')
CellFont.size = '2'
ObjLink = document.createElement('A')
ObjLink.href = 'index.cgi?action=mlstaff'
InnerClick = document.createTextNode('View Staff')
ObjLink.appendChild(InnerClick)
CellFont.appendChild(ObjLink)
ObjCell.appendChild(CellFont)
}
}
}
</script>
This one is Cross-Browser
Preview: visualproto.proboards39.com