View Single Post
Old Jan 9th, 2007, 3:20 PM   #2
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
It would help if you used the [code] tags. Then we could see your indentation. Also, why have you multiplied by 100000 to get minutes? It should be 60000.

As for populating your word list, why not have the user enter in some words, then do something like:
dictionary = document.getElementById("userwords").value.split(" ");
Also, I'd advise getting the Prototype library. It really makes Javascript coding a heck of a lot easier.
Arevos is offline   Reply With Quote