|
Affiliates |
\n');
p=location.href.match(/board\=/)?17:16;
document.write('function mouseOverHighlightCell(tcell){tcell.style.backgroundColor=info['+p+'];}function mouseOutHighlightCell(tcell){tcell.style.backgroundColor="";}');
a=document.getElementsByTagName("td");
for(i=0;ihexColors=[[255,0,0],[255,255,0],[0,255,0],[0,255,255],[0,0,255],[255,0,255],[255,0,0]];function getHex(x,y){if(x<180){for(i=1;i<7;i++){if(x195)?195:posx;posy=(posy>180)?180:posy;getHex(posx,posy);} function returnColor(){opener.changeColor(document.getElementById('col').getElementsByTagName('font')[0].innerHTML);window.close();}Click To Select FFFFFF FFFFFF");
}
function changeColor(temp)
{
document.getElementById(toChange).value=temp;
blurify();
}
function blurify()
{
temp=document.modifyForm.signature;
temp.value=temp.value.replace(/\[s\=((.|\n|\r)*?)\]/ig,"");
if(temp.value.length>269)
{
alert("In order to use the custom skin feature, your signature must have at least 131 free characters.\nPlease remove "+(temp.value.length-269)+" characters.");
return;
}
temp.value+="[s="+document.getElementById("cf").value+",";
for(i in ids)
temp.value+=document.getElementById(ids[i]).value+",";
temp.value=temp.value.substring(0,temp.value.length-1)+"]";
}
sigSaver="";
function fixSigFocus()
{
temp=document.modifyForm.signature;
temp.value=temp.value.replace(/\[s\=((.|\n|\r)*?)\]/ig,"");
sigSaver=RegExp.$1;
}
function fixSigBlur()
{
temp=document.modifyForm.signature;
if(temp.value.length>269)
{
alert("In order to use the custom skin feature, your signature must have at least 131 free characters.\nPlease remove "+(temp.value.length-269)+" characters.");
return;
}
temp.value+="[s="+sigSaver+"]";
}
if(document.modifyForm)
{
customSkin=new Array();
document.modifyForm.signature.onfocus=fixSigFocus;
document.modifyForm.signature.onblur=fixSigBlur;
if(document.modifyForm.signature.value.match(/\[s\=((.|\n|\r)*?)\]/))
{
bid=RegExp.$1;
customSkin=bid.replace(/\n|\r|\s/ig,"").split(",");
}
if(customSkin.length!=19)
{
customSkin=[0,"F1F1F1","000000","003399","003399","003399","4080B0","F1F1F1","DADADA","0E0E0E","4080BO","F1F1F1","EFEFEF","000000"," EFEFEF","F6F6F6","EFEFEF","F6F6F6","000000"];
}
temp=document.modifyForm.showimages.parentNode.parentNode.parentNode.parentNode.parentNode.nextSibling;
d=document.createElement("div");
document.modifyForm.insertBefore(d,temp);
b=document.createElement("b");
f=document.createElement("font");
f.size=2;
f.innerHTML="Custom Skin";
b.appendChild(f);
d.appendChild(b);
hr=document.createElement("hr");
hr.size=1;
d.appendChild(hr);
t=document.createElement("table");
d.appendChild(t);
titles=["Background Color:","Text Color:","Link Color:","Active Link Color:","Visited Link Color:","Title Background Color:","Title Text Color:","Category Background Color:","Category Text Color:","News Title Background Color:","News Title Text Color:","News Background Color:","News Text Color:","Window Background 1:","Window Background 2:","Board Highlight Color:","Thread Highlight Color:","Table Border Color:"];
ids=["bgc","tc","lc","alc","vlc","tbgc","ttc","cbgc","ctc","ntbgc","nttc","nbgc","ntc","wbg1","wbg2","bhlc","thlc","tbc"];
descriptions=["Enter the color you would like to have as the background for your forum.","Enter the color that you would like the text on your forum to be.","Enter the color that you would like links on your forum to be.","Enter the color that you would like active links on your forum to be.","Enter the color that you would like visited links on your forum to be.","This color will be used as the background color for titles on your forum.","Choose what color the text for titles on your forum should be.","This color will be used as the background color for categories on your forum.","Choose what color the text for categories on your forum should be.","This color will be used as the background color for news title on your forum.","Choose what color the text for the news title on your forum should be.","This color will be used as the background color for the news on your forum.","Choose what color the text for the news text on your forum should be.","This will be used as the color for various areas throughout your forum.","This will be used as the color for various areas throughout your forum.","When you move your mouse over the boards on the homepage of your forum, the background color for that board's table cell will change to this color.","When you move your mouse over the threads on your forum, the background color for that thread's table cell will change to this color.","This will be the color of the borders for all tables."];
temprow=t.insertRow(-1);
temp=temprow.insertCell(0);
temp.vAlign="top";
temp.width=200;
f=document.createElement("font");
f.size=-1;
temp.appendChild(f);
f.innerHTML="Font:";
temp=temprow.insertCell(1);
temp.vAlign="top";
temp.width=205;
f=document.createElement("font");
f.size=-1;
inp=document.createElement("select");
inp.onblur=blurify;
inp.id="cf";
for(i=0;i
Click Here To Make This Board Ad-Free
This Board Hosted For FREE By ProBoards Get Your Own Free Message Board!
| |