Post by JasK on Jan 22, 2008 13:57:48 GMT -5
It's an old skin I made last year, my first (and only ) actually. Enjoy!
Live Preview: jasktestskin.proboards105.com/index.cgi
Forum colours and image links can be found in the "Skin Installation" board on the forum.
Global Footers
Global Footers
Main Footers
My first skin, so calm.
Live Preview: jasktestskin.proboards105.com/index.cgi
Forum colours and image links can be found in the "Skin Installation" board on the forum.
Global Footers
<style type="text/css">
<!--
body {
background-repeat: repeat-y;
background-position: center center;
}
.titlebg {
background-image: url(http://i85.photobucket.com/albums/k58/jasjitk/blight/title.jpg);
padding: 6px;
}
.menubg {
background-image: url(http://i85.photobucket.com/albums/k58/jasjitk/blight/menu.jpg);
padding: 0px;
}
.catbg {
background-image: url(http://i85.photobucket.com/albums/k58/jasjitk/blight/catbg3.jpg);
font-size: 10px;
}
.cattext {
font-size: 10px;
}
.windowbg, .windowbg2 {
border-top: 1px solid #29009d;
border-left: 1px solid #29009d;
}
a:hover, .nav:hover {
color: #9173ff;
text-decoration: none;
}
-->
</style>
<script>
document.getElementsByTagName("BR")[0].style.display="none";
document.getElementsByTagName("FONT")[1].style.display="none";
document.getElementsByTagName('tr')[1].deleteCell(1);
</script>
<script type="text/javascript">
<!--
/* basic image rollover */
var img = document.getElementsByTagName("img");
for(i=0; i<img.length; i++){
if(img[i].src.match(/_o(n|ff)/)){
img[i].onmouseover = function(){this.src = this.src.replace("_off", "_on");};
img[i].onmouseout=function(){this.src = this.src.replace("_on", "_off");};
}
}
//-->
</script>
Global Footers
<script type="text/javascript">
<!--
table = document.getElementsByTagName('table');
for(i = 0; i < table.length; i ++) {
with(table[i]) {
if(width == '92%') {
width = '715';
}}}
//-->
</script>
Main Footers
<script type="text/javascript"><!--
/* Staff Online by snap2000 */
var staffIcon = "http://h1.ripway.com/jasjitk/blight/admin.jpg"; //icon to use in Info Center
var staffGroups=[
["Administrator", "1"],
["Moderator", "3"]
];
var row=document.getElementsByTagName("tr");
if(!location.href.match(/\?action\=(?!home)/)) {
for(r=0;r<row.length;r++) {
if(row[r].firstChild.className=="catbg" && row[r].firstChild.innerHTML.match("Users Online")) {
var staffList=[],staffCount=[];
for(g=0;g<staffGroups.length;g++) staffCount[g]=0;
var newCat=row[r].cloneNode(true);
newCat.firstChild.getElementsByTagName("b")[0].innerHTML="Staff Online";
var newWin=row[r+1].cloneNode(true);
var onlineCell=row[r+1].lastChild.getElementsByTagName("font")[0];
var staffCell=newWin.lastChild.getElementsByTagName("font")[0];
newWin.firstChild.innerHTML=(newWin.firstChild.firstChild.nodeName=="IMG") ? '<img src="'+staffIcon+'" border="0" alt="s" />' : 's';
onlineCell.innerHTML=onlineCell.innerHTML.replace(/\d+ Staff Members*,\s/,"");
var links=onlineCell.getElementsByTagName("a");
for(a=0;a<links.length;a++) {
if(links[a].className && links[a].className.match(/^group(\d+)$/)) {
reg=eval("\/\\b"+RegExp.$1+"\\b\/");
for(g=0;g<staffGroups.length;g++) {
if(staffGroups[g][1].match(reg)) {
staffCount[g]++;
staffList.push(links[a]);
if(a<links.length-1) links[a].nextSibling.parentNode.removeChild(links[a].nextSibling);
break;
}
}
}
}
staffCell.innerHTML="";
for(g=0;g<staffGroups.length;g++) {
staffCell.innerHTML+=staffCount[g]+' '+staffGroups[g][0]+(staffCount[g]!=1?'s':'');
staffCell.innerHTML+=(g+1<staffGroups.length ? ', ' : '<br />');
}
for(a=0;a<staffList.length;a++) {
staffCell.appendChild(staffList[a]);
if(a<staffList.length-1) staffCell.innerHTML+=", ";
}
if(onlineCell.lastChild.nodeType==3) onlineCell.lastChild.parentNode.removeChild(onlineCell.lastChild);
row[r].parentNode.insertBefore(newWin,row[r]);
row[r].parentNode.insertBefore(newCat,row[r]);
break;
}
}
}
//--></script>
My first skin, so calm.