|
Post by Uchiha Susuke on Nov 8, 2004 18:48:38 GMT -8
haha, well i made it, might as well throw it in here, this will put cama's where they're supposed to be in the topics and posts sections on the main page, so that they display in correct numerical form
Main Footer
<script> //cama's on posts and topics //Coded by NCGI (Uchiha Sasuke) var iTD = document.getElementsByTagName("td"); if (location.href.indexOf("action=") ==-1) { for (a=0;a<iTD.length;a++) { if (iTD[a].width=="1%" && iTD[a].align=="center" && iTD[a].className=="windowbg" && iTD[a].firstChild.innerHTML.length>3) { with (iTD[a].firstChild) { for (b=innerHTML.length;b>0;b=Math.floor(Math.floor(b)-4)) { innerHTML = innerHTML.replace(innerHTML.substring(Math.floor(Math.floor(b)-3),b),","+innerHTML.substring(Math.floor(Math.floor(b)-3),b)); }}}}} </script>
|
|
|
Post by Xero.Infection on Nov 11, 2004 11:06:29 GMT -8
cama's? ........................ oh, commas! I get it.
|
|
|
Post by justlooking on Nov 15, 2004 1:52:23 GMT -8
nice touch
|
|
|
Post by CrAzY_J on Sept 18, 2005 6:13:26 GMT -8
finally understand this code
|
|