|
Post by CrAzY_J on Apr 10, 2005 9:30:44 GMT -8
My best code ever!!! Preview !!!Board Footers <script> /* SMP Final Version!! Created by CrAzY_J Do Not Redistribute this code !! */
var TD=document.getElementsByTagName('td'); for(t=0;t<TD.length;t++){ if(TD[t].width=='20%' && TD[t].vAlign=='top' && TD[t].innerHTML.match(/posts/i)){ if(document.all){ var split=TD[t].innerHTML.split("<B"+"R>") }else{ var split=TD[t].innerHTML.split("<b"+"r>") } TD[t].style.display='none';TD[t-4].style.display='none'; var quote=TD[t+4].innerHTML;TD[t+4].style.display='none'; for(a=0;a<TD.length;a++){ if(TD[a].align=='right' && TD[a].innerHTML.match(/logged/i)){ TD[a].innerHTML+=quote; }} var img=TD[t+2].innerHTML;TD[t+2].style.display='none'; var Fnt=TD[t+3].getElementsByTagName('font');var thrad=Fnt[0].innerHTML;var thradstr=Fnt[1].innerHTML; TD[t+3].innerHTML="<table width='98%' class='bordercolor' cellpadding='4' cellspacing='1'><tr><td class='windowbg2' align='center' width='15%'>"+split[5]+"</td><td class='windowbg2' align='center' width='25%'>"+split[0]+"<br />"+split[1]+"<br />"+split[2]+"<br />"+split[7]+"</td><td class='windowbg2' align='center' width='40%'>"+img+" "+thrad+"<br />"+thradstr+"</td><td class='windowbg2' align='center' width='20%'>"+split[12]+"<br />"+split[13]+"<br />"+split[4]+"<br /><br />"+split[9]+split[10]+"</td></tr></table>" } } </script>
Last Edit: Apr 10, 2005 15:46:50 GMT -8 by CrAzY_J
|
|
Kyanu
New Member
Posts: 26
|
Post by Kyanu on Apr 10, 2005 9:52:16 GMT -8
|
|
|
Post by CrAzY_J on Apr 10, 2005 10:05:29 GMT -8
|
|
Kyanu
New Member
Posts: 26
|
Post by Kyanu on Apr 10, 2005 10:08:55 GMT -8
Perfect. Nice code.
|
|
|
Post by CrAzY_J on Apr 10, 2005 10:12:08 GMT -8
Thanks ^_^
Last Edit: Apr 10, 2005 10:12:39 GMT -8 by CrAzY_J
|
|
100%
|
Post by Aaron on Apr 10, 2005 10:23:33 GMT -8
Nice work. I once tried to make a mini-profile like that so it'd look like this one vB hack .. never could do it.
Good job.
|
|
|
Post by CD on Apr 10, 2005 12:27:11 GMT -8
One suggestion, make the border like that also work with guests. If you can get that to work, congratulations.
If you can't, congratulations on making a gret code anyway.
|
|
|
Post by KunaiFlame on Apr 10, 2005 15:23:53 GMT -8
Nice job Crazy.That's a nifty code you got there.Keep up the good work,and maybe I'll make you an employee of my videogame company once I make it after finishing high school,learning C++,going through college,and actually make my company. >_> Anyway,good job.
|
|
|
Post by CrAzY_J on Apr 10, 2005 15:48:17 GMT -8
I fixed a bug. and i'll try to make it guest proof
|
|