|
Post by CrAzY_J on Dec 27, 2004 19:52:20 GMT -8
Cross browser
Board Footer <script> /* Stupid Mini Profile V1.0 Created by CrAzY_J~ http://slstudios.suddenlaunch3.com Do not repost this code anywhere without the permission of it's creator This header must stay intact at all time ^^ Board Footers*/
var oncolor="#xxxxxx" //Color for user online var offcolor="#xxxxxx" //color for user offline
//Dont need to edit beyond this point var TD=document.getElementsByTagName('td') for(x=0;x<TD.length;x++){ if(TD[x].width=="20%" && TD[x].vAlign=="top" && !TD[x].innerHTML.match(/Guest/i)){ var all=TD[x].innerHTML.split(/<b\r>/i)
all[4]=all[4].replace('member is','status:') all[4]=all[4].replace('online','<font color="'+oncolor+'">online</font>') all[4]=all[4].replace('offline','font color="'+offcolor+'">offline</font>') all[12]=all[12].replace('Gender','sex:')
var mini="<table cellpadding='2' cellspacing='1' border='0' width='100%' class='bordercolor'>" mini+="<tr><td colspan='2' class='titlebg' align='center'>"+all[0]+"</td></tr>" mini+="<tr><td class='windowbg2' colspan='2' align='center'>"+all[5]+"</td></tr>" mini+="<tr><td class='titlebg' align='center' colspan='2'><font size='1'>Rank</font></td><tr>" mini+="<tr><td class='windowbg2' align='center' colspan='2'>"+all[2]+" "+all[1]+"</td></tr>" mini+="<tr><td class='titlebg' align='center' colspan='2'>Users Info</td></tr><tr>" mini+="<td align='center' class='windowbg2' colspan='2'>"+all[7]+"</td></tr>" mini+="<td align='center' class='windowbg2' colspan='2'>"+all[4]+"</td></tr>" mini+="<tr><td class='windowbg2' align='center' colspan='2'>"+all[12]+"</td></tr>" mini+="<tr><td class='windowbg2' align='center' colspan='2'>"+all[13]+"</td></tr></table>" mini+="<br /><table celpadding='2' celspacing='1' border='0' width='100%' class='bordercolor'>" mini+="<tr><td colspan='2' align='center' class='titlebg'>Member Contact</td></tr>" mini+="<tr><td class='windowbg2' align='center' colspan='2'>"+all[10]+"<br />"+all[9]+"</td></tr></table>"
TD[x].innerHTML=mini }} </script>
change the online and offline color HEX var oncolor="#xxxxxx" //Color for user online var offcolor="#xxxxxx" //color for user offline
preview: cross browser
Last Edit: Feb 17, 2005 14:45:56 GMT -8 by CrAzY_J
|
|
|
Post by Nomi on Dec 28, 2004 16:05:59 GMT -8
Thats pretty nice Crazy J good job
|
|
|
Post by Ascent on Dec 28, 2004 17:04:15 GMT -8
1) Learn Captilization 2) "sex::" 3) Only an idiot puts the personal text in a box 4) If you don't select a gender, you be fucked.
Last Edit: Dec 28, 2004 17:08:39 GMT -8 by Ascent
|
|
|
Post by CrAzY_J on Dec 28, 2004 18:21:56 GMT -8
1) Learn Captilization 2) "sex::" 3) Only an idiot puts the personal text in a box 4) If you don't select a gender, you be f**ked. 1 teach meh 2. fixed it after i took the screen shot 3. Im an idiot 4. actualy i already tested that and it works fine
|
|
|
Post by Ascent on Dec 28, 2004 18:42:04 GMT -8
1 teach meh 2. fixed it after i took the screen shot 3. Im an idiot 4. actualy i already tested that and it works fine 4. so there's an empty box then? =/
|
|
|
Post by CrAzY_J on Dec 28, 2004 19:50:11 GMT -8
4. so there's an empty box then? =/ well it's way smaller ^_^
|
|
|
Post by Ramirez on Jan 2, 2005 4:30:28 GMT -8
Hey i quite like this. Nice job CrAzY_J!
|
|
CHINO
New Member
Posts: 3
|
Post by CHINO on Feb 2, 2005 2:45:17 GMT -8
I tried this code and it doesn't work for me....can you please help??
|
|
CHINO
New Member
Posts: 3
|
Post by CHINO on Feb 16, 2005 5:23:00 GMT -8
I have put this code at the top and at the bottom of board footers and neither works. Can someone help?
|
|
|
Post by CrAzY_J on Feb 17, 2005 14:41:28 GMT -8
I have put this code at the top and at the bottom of board footers and neither works. Can someone help? sorry replace var all=TD[x].innerHTML.split(/<b\r>/i)
the <b\r> make it a <b r> (without space between b and r)
|
|