English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I need to be be able to create a sort of "quiz" where a user can select one option at a time and based upon their answer they are asked a different question. At the end, they will be presented with the results. (Much like the "find the dog food" quiz on Petsmart.com, where it asks the age of your dog, it's breed, it's activity level, etc, and the quiz dynamically changes which questions are asked based on your previous answers, and then at the end presents you with the "best" dog food for your dog.)

Does anyone have a website with a tutorial where I can learn how to use this?

No flash, it needs to work without a plug in.

2007-08-13 09:52:15 · 5 answers · asked by Maber 4 in Computers & Internet Programming & Design

5 answers

no... this is a fairly advanced interface for a beginner.

First you need to construct the order of questions... i.e. a "decision tree". You can do this on paper (and probably already have). The problem is that you have to translate this into CODE.

Typically, this is done via server-side PHP, Java, or .NET code... where the user answers a question by clicking a button to send the answer to the server (your code). You must then record the answer and determine the next.

Storage of questions and answers is best facilitated with a database such as MySQL. Once all answers have been tallied, then you can provide the results to the user (list of products?).

If your questions are REALLY simply... like 5 or 6, you might be able to get by with a simply JavaScript array structure for the questions/answers and list of available products.

None of this will be easy if you haven't already been actively creating complex applications/web-sites. However, if you find a web-site that already does it... AND they are doing it with JavaScript, then you can "View Source" in your browser and copy their JavaScripts.

2007-08-13 10:11:27 · answer #1 · answered by Sam 4 · 0 2

howdy! I even have an smart answer! Taliban and Al Qaeda are 2 separate companies. The Taliban (meaning holy protection tension such because of the fact the Michigan protection tension) have been initially the army of a warlord in Afghanistan attempting to kick out the Soviet Union. while they have been lengthy previous there grew to become right into a power conflict among the countless Afghan tribes. a lot of them have been utilising weapons and procedures from united statesa. to combat off the Soviets. The Taliban ultimately gained and took administration of Afghanistan. Al Qaeda is and company started with lots help from Osama Bin encumbered as an intensive branch of the Mujaheddin. the objective grew to become into to end Muslim strife, particularly in Palestine. With help from countless supporters, from wealthy to wealthy, they formed a good company that tries to help Islam. The Al Qaeda have had lots training from the CIA. On an identical notice to those companies, Hamas is a Palestinian political occasion and not a 17 november. Westerners might understand that if we bothered to get the two facets of any tale.

2016-10-15 05:20:51 · answer #2 · answered by ? 4 · 0 0

If you don't want to use plugins (Java,Flash, etc) you will want to look into a JavaScript or server side solution (php/perl/asp, etc)

2007-08-13 09:56:39 · answer #3 · answered by mdigitale 7 · 0 0

check here: http://www.freedownloadscenter.com/Best/html-quiz-maker.html

2007-08-13 10:03:03 · answer #4 · answered by colenikol 4 · 0 1

http://javascript.about.com/library/blquiz.htm

Hope it works

-Brian

2007-08-13 09:56:12 · answer #5 · answered by nick 5 · 1 1

fedest.com, questions and answers