Well hi there everyone,
This might be a bit weird as most people are here to build their webpages. I’m a gamer myself. ?
I’m a member of a online [url=http://z6.invisionfree.com/flyermania/index.php?showforum=11]hockey community
What makes this game interesting is the possibility to rebuild the interface, which is entirely written in Javascript/html. It has been rebuilt already but there are a few things I’d like to add. Mainly statistics, which have to be “randomized” and sometimes even fabricated because some data simply isn’t possible to extract from the game.
I’m a clueless schmuck but I have lots of patience. ? I can use the Google and there are plenty of ready scripts on the Web that I can use.
I created a list of real NHL referees which get thrown into these box score pages randomly. I’d love to add them there just to add some “coolness factor” to the stats, the information about referees isn’t in the game at all.
[img]
However, I’d like them to display so that they don’t change anymore after they have been created once (to that particular box score page).
I have used this randomizer to throw ’em in:
<script>writeNHLMsg(“Referees:”)</script></div>
<script language=”JavaScript”>
var r_text = new Array ();
r_text[0] = “Dan O’Halloran”;
r_text[1] = “Mike Leggo”;
r_text[2] = “Don vanMassenhoven”;
r_text[3] = “Kevin Pollock”;
r_text[4] = “Paul Devorski”;
r_text[5] = “Chris Lee”;
r_text[6] = “Mike Hasenfratz”;
var i = Math.floor(7*Math.random())
document.write(r_text[i]);style=”position:absolute;top:240px;left:378px;”
</script>
The problem is… when I close that page and go back there again, new refs have been thrown in there randomly again… which (of course) is pretty silly. I’d like this script to randomize them *once
Are you following? ?
If someone could help me here and give me a direction what to do… it would make a LOT of people happy.
Thank you in advance.