inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Sept 18, 2005 5:44:14 GMT -8
Main Footer
<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=(header|sett)') && tt.width=="100%" && tt.innerHTML.match(/Info Center/) && tt.cellSpacing=="1" && tt[i-1].className=="bordercolor") { tt.cellSpacing='0'; var td=tt.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-7].innerHTML.split('Most users')[0] + '<br/>' + td[td.length-7].innerHTML.split(/<br>/i)[1]; td[4].innerHTML+='<br/>'+users; td[3].innerHTML+=legend; break; } } //--> </script>
Edit these lines with the staff legend: staff[X]=["Administrator","FF3366"]; Where X increases by 1 each time, 'Administrator' is the name of the Group and 'FF3366; is the group color.
[Edit: Fixed the bug involving the borders]
|
|