Topic awaiting preservation: My first Javascript..And Question |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: The Jungle |
posted 01-14-2003 20:40
Ok, after a few months of designing nothing, I decided to dive right into learning Javascript. I went to W3schools.com and took the crash course there on JS and wrote a script to print a random word/picture each time the pages loads. (Seen below) My question is, Could I have done this coding a different way with the same results? (ie shorter script, different commands...etc) I've very new to coding, so any help you gurus can give would be great. quote:
|
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 01-14-2003 21:02
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 01-14-2003 21:08
wilmonkey: I would put all the words into an array and then pull them out like myArray[n]. |
Paranoid (IV) Inmate From: The Jungle |
posted 01-14-2003 21:58
Great , Thanks InI and Emps (even though you were late :P ) |