tfortwit
12-07-2004, 12:01 AM
Hi
How can I place an image into an array?...I am VERY new to java script and have an assignment to write an online quiz, using the 'usual' multiple choice answer questions, which I have managed to do, but now have to replace the answers with multiple choice images (as answers), with radio button selection...an example of the array I'm using:
questions[1] = new Array();
questions[1][0] = "Winnie The Pooh is a:";
questions[1][1] = "Tiger";
questions[1][2] = "Bear";
questions[1][3] = "Donkey";
questions[1][4] = "Pig";
Many Thanks
Alison
How can I place an image into an array?...I am VERY new to java script and have an assignment to write an online quiz, using the 'usual' multiple choice answer questions, which I have managed to do, but now have to replace the answers with multiple choice images (as answers), with radio button selection...an example of the array I'm using:
questions[1] = new Array();
questions[1][0] = "Winnie The Pooh is a:";
questions[1][1] = "Tiger";
questions[1][2] = "Bear";
questions[1][3] = "Donkey";
questions[1][4] = "Pig";
Many Thanks
Alison