Hello all,
I'm new to Javascript, but I believe that I would use it in this instance.
I am creating a quiz, where the user will look at an image and then has to answer a question about it. I've found a simple multiple choice quiz script, but I need to find some way to connect an image to each question.
Right now, the quiz questions are stored in an array like this:
I'd like to somehow attach an image to each question. If you look at this page: http://calligraphyqalam.com/styles/script-quiz.html, the image should go above the question, and change when the user clicks on "next question."Code:var quiz = new Array(); var r = 0; quiz[r++] =('32~92~What is the main script used in this image?~Kufic~Thuluth~Naskh~Nasta\'liq'); quiz[r++] =('45~93~What is the main script used in this image?~Shikaste~Maghribi~Ta\'liq~Riqa\'');
Thank you so much for any help you can give!
Elisabeth



Reply With Quote
Bookmarks