zarino wrote:
Hmmmmm... I've made the path relative to the HTML file, but it still doesn't work.
My fault. Try: var fact = facts[Math.floor(facts.length * Math.random())]; not var fact = facts[Math.floor(facts.size * Math.random())]; -- Scott
zarino wrote:
Hmmmmm... I've made the path relative to the HTML file, but it still doesn't work.
My fault. Try: var fact = facts[Math.floor(facts.length * Math.random())]; not var fact = facts[Math.floor(facts.size * Math.random())]; -- Scott