Peter
New Member
God
Posts: 6
|
Post by Peter on Oct 27, 2004 10:52:58 GMT
Code created by Webworldx[/color]
<script> /* Simple Money Code Created by Webworldx - 24/08/03
This code cannot be posted (independantly or with other scripts) at anywhere other than SSDesigns, without express permission from its creator. This header must stay intact at all times. */
// change this line below to what currency you want, $, £ etc. For nothing, leave it as blank
var Currency = "£"
// change this line to the ype you want, Money, Total Gold, Points etc.
var Type = "Money"
if (location.href.indexOf("action=display") != -1){ var correct = document.getElementsByTagName('td'); for(a=0;a<correct.length;a++){ if (correct[a].width=="20%" && correct[a].innerHTML.match(/posts:/i)) { var FindPostCount = correct[a].innerHTML if (FindPostCount.match("Guest")) { } else { FindPostCount = FindPostCount.split("Posts: ") FindPostCount = FindPostCount[1].split("<B" + "R>") var ThePosts = FindPostCount[0] var Points = parseInt(ThePosts*2)
var embedPoints = "<p align=left>Posts: " + ThePosts + "<B" + "R><b>" + Type + ": </b><font color=blue>" + Currency + Points + "</font></p>" correct[a].innerHTML=correct[a].innerHTML.replace('Posts: ' + ThePosts,embedPoints) }}}} </script>
Forum Footers
|
|