Post by Peter on Oct 31, 2004 14:15:18 GMT
Created by Naruto
High-tech Mini-Profile
<script>
/*
High-tech Mini-Profile
Created by Naruto
hatakeforum.proboards30.com/index.cgi
*/
var TD = document.getElementsByTagName("TD");
for(t=0;t<TD.length;t++){
if(TD[t].width=="20%" && TD[t].vAlign=="top"){
var Info = TD[t].innerHTML.split("<B" + "R>");
var Posts = Info[13].split(":");
TD[t].cellspacing="0";
if(Info[12].indexOf('Gender')==-1){
Info[12]="<font size='1'>---</font>"
}
if (Info[12].match("female.gif")){
Info[12]="<font color='Pink'>Female</font>"
}
if (Info[12].match("male.gif")){
Info[12]="<font color='6590BA'>Male</font>"
}
TD[t].innerHTML="<table border='0' cellpadding='2' cellspacing='1' class='bordercolor' align='center' width='100%'><tr><td align='center' class='titlebg' colspan='2'><font size='1'>"+Info[0]+"</font></td></tr><tr><td align='center' class='windowbg2' colspan='2'><font size='1'>"+Info[1]+"</font><br />"+Info[2]+"</td></tr><tr><td align='center' class='windowbg' colspan='2'>"+Info[5]+"<br /><font size='1'><b>"+Info[7]+"</b></font></td></tr><tr><td class='windowbg2' colspan='2' align='center'><font size='1'>"+Info[4]+"</font></td></tr><tr><td class='windowbg2' width='50%'><b><font size='1'>Gender:</font></b></td><td class='windowbg2' width='50%'><font size='1'>"+Info[12]+"</font></td></tr><tr><td class='windowbg2' width='50%'><b><font size='1'>Posts:</font></b></td><td class='windowbg2' width='50%'><font size='1'>"+Posts+"</font></td></tr></table><br /><table border='0' cellpadding='2' cellspacing='1' class='bordercolor' align='center' width='100%'><tr><td align='center' class='catbg'><font size='1'><b>Contact</b></font></td></tr><tr><td align='center' class='windowbg2'>"+Info[9]+Info[10]+"</td></tr></table>";
}}
</script>
<script>
var TD = document.getElementsByTagName('TD');
for(t=0;t<TD.length;t++){
if(TD[t].width=="20%" && TD[t].vAlign=="top"){
var range = document.body.createTextRange();
range.collapse(true);
while (range.findText("Posts, ")) {
range.pasteHTML("");
range.collapse(false);
}
while (range.findText("Posts, ")) {
range.pasteHTML("");
range.collapse(false);
}}}
</script>
This script will change the look of your profile area.
Add to all footers.
Preview:
It will change the colors to match with your board.#nosmileys#nosmileys
High-tech Mini-Profile
<script>
/*
High-tech Mini-Profile
Created by Naruto
hatakeforum.proboards30.com/index.cgi
*/
var TD = document.getElementsByTagName("TD");
for(t=0;t<TD.length;t++){
if(TD[t].width=="20%" && TD[t].vAlign=="top"){
var Info = TD[t].innerHTML.split("<B" + "R>");
var Posts = Info[13].split(":");
TD[t].cellspacing="0";
if(Info[12].indexOf('Gender')==-1){
Info[12]="<font size='1'>---</font>"
}
if (Info[12].match("female.gif")){
Info[12]="<font color='Pink'>Female</font>"
}
if (Info[12].match("male.gif")){
Info[12]="<font color='6590BA'>Male</font>"
}
TD[t].innerHTML="<table border='0' cellpadding='2' cellspacing='1' class='bordercolor' align='center' width='100%'><tr><td align='center' class='titlebg' colspan='2'><font size='1'>"+Info[0]+"</font></td></tr><tr><td align='center' class='windowbg2' colspan='2'><font size='1'>"+Info[1]+"</font><br />"+Info[2]+"</td></tr><tr><td align='center' class='windowbg' colspan='2'>"+Info[5]+"<br /><font size='1'><b>"+Info[7]+"</b></font></td></tr><tr><td class='windowbg2' colspan='2' align='center'><font size='1'>"+Info[4]+"</font></td></tr><tr><td class='windowbg2' width='50%'><b><font size='1'>Gender:</font></b></td><td class='windowbg2' width='50%'><font size='1'>"+Info[12]+"</font></td></tr><tr><td class='windowbg2' width='50%'><b><font size='1'>Posts:</font></b></td><td class='windowbg2' width='50%'><font size='1'>"+Posts+"</font></td></tr></table><br /><table border='0' cellpadding='2' cellspacing='1' class='bordercolor' align='center' width='100%'><tr><td align='center' class='catbg'><font size='1'><b>Contact</b></font></td></tr><tr><td align='center' class='windowbg2'>"+Info[9]+Info[10]+"</td></tr></table>";
}}
</script>
<script>
var TD = document.getElementsByTagName('TD');
for(t=0;t<TD.length;t++){
if(TD[t].width=="20%" && TD[t].vAlign=="top"){
var range = document.body.createTextRange();
range.collapse(true);
while (range.findText("Posts, ")) {
range.pasteHTML("");
range.collapse(false);
}
while (range.findText("Posts, ")) {
range.pasteHTML("");
range.collapse(false);
}}}
</script>
This script will change the look of your profile area.
Add to all footers.
Preview:
It will change the colors to match with your board.#nosmileys#nosmileys