Post by Ross on Sept 13, 2005 23:56:13 GMT
Main Footer
This is just a cut-down version of the current info center. It removes the birthdays, events, most users online and puts everything in one box.
<script type="text/javascript">
<!--
/*
info center cut-down v1
by elindir
do not edit or redistribute without permission
*/
var staff=[];
staff[0]=["Administrator","FF3366"];
staff[1]=["Global Moderator","663366"];
staff[2]=["Moderator","336633"];
legend='<div align="center">';
for(s=0;s<staff.length-1;s++)
{
legend+='<span style="color: '+staff[1]+';">'+staff[0]+'</span> | ';
}
legend+='<span style="color: '+staff[staff.length-1][1]+';">'+staff[staff.length-1][0]+'</span></div>';
var tt = document.getElementsByTagName('table');
for(i=tt.length-1; i>0; i--)
{
if(!location.href.match('action=headers') && tt[i].width=="100%" && tt[i].innerHTML.match(/Info Center/) && tt[i].cellSpacing=="1" && tt[i-1].className=="bordercolor")
{
tt[i].cellSpacing='0';
var td=tt[i].getElementsByTagName('td');
for(e=6;e<td.length;e++)
td[e].parentNode.style.display='none';
td[1].parentNode.style.display='none';
td[2].style.display='none';
users=td[td.length-1].innerHTML.split('Most users')[0] + '<br/>' + td[td.length-1].innerHTML.split(/<br>/i)[1];
td[4].innerHTML+='<br/>'+users;
td[3].innerHTML+=legend;
break;
}
}
//-->
</script>
The lines in purple are what need to be edited, they make up the staff legend.
staff[1]=["Global Moderator","663366"];
Increase this number by one each time
The name of the staff group
The color of the staff group
Reason For Edit: Bug Fix
This is just a cut-down version of the current info center. It removes the birthdays, events, most users online and puts everything in one box.
<script type="text/javascript">
<!--
/*
info center cut-down v1
by elindir
do not edit or redistribute without permission
*/
var staff=[];
staff[0]=["Administrator","FF3366"];
staff[1]=["Global Moderator","663366"];
staff[2]=["Moderator","336633"];
legend='<div align="center">';
for(s=0;s<staff.length-1;s++)
{
legend+='<span style="color: '+staff
}
legend+='<span style="color: '+staff[staff.length-1][1]+';">'+staff[staff.length-1][0]+'</span></div>';
var tt = document.getElementsByTagName('table');
for(i=tt.length-1; i>0; i--)
{
if(!location.href.match('action=headers') && tt[i].width=="100%" && tt[i].innerHTML.match(/Info Center/) && tt[i].cellSpacing=="1" && tt[i-1].className=="bordercolor")
{
tt[i].cellSpacing='0';
var td=tt[i].getElementsByTagName('td');
for(e=6;e<td.length;e++)
td[e].parentNode.style.display='none';
td[1].parentNode.style.display='none';
td[2].style.display='none';
users=td[td.length-1].innerHTML.split('Most users')[0] + '<br/>' + td[td.length-1].innerHTML.split(/<br>/i)[1];
td[4].innerHTML+='<br/>'+users;
td[3].innerHTML+=legend;
break;
}
}
//-->
</script>
The lines in purple are what need to be edited, they make up the staff legend.
staff[1]=["Global Moderator","663366"];
Increase this number by one each time
The name of the staff group
The color of the staff group
Reason For Edit: Bug Fix