rarRAR
Super Member
[N4:#russellbarnard####]
Posts: 83
|
Post by rarRAR on Feb 6, 2007 7:14:27 GMT
Placement: Global/Board footersCoded By: SpectrumUKPreview: <script type="text/javascript"> //super Spectrum RPG v1 // www.spectrumukgraphics.co.uk var name1 = 'Money:'; var name2 = 'Speed:'; var name3 = 'Agilty:'; var name4 = 'Fighting:';
var TD=document.getElementsByTagName('td'); for(t=0;t<TD.length;t++){ if(TD[t].width=="20%" && TD[t].innerHTML.match(/Posts/i)){ var PostAmount=TD[t].innerHTML.split("Posts: ")[1] var nam1=parseInt(PostAmount)*1 // change 1 to the number of times you times the posts to get money var nam2=parseInt(PostAmount)*5 // change 5 to the number of times you times the posts to get speed var nam3=parseInt(PostAmount)*3 // change 3 to the number of times you times the posts to get agility var nam4=parseInt(PostAmount)*2 // change 2 to the number of times you times the posts to get fighting
TD[t].innerHTML+="<br /><u>RPG Stats</u><br />"+name1+" "+nam1+"<br />"+name2+" "+nam2+"<br />"+name3+" "+nam3+"<br />"+name4+" "+nam4+"<br />"; }}
</script> If you have any problems post them into Coding zone.
|
|