View Full Version : One Slight Problem..


SizzZzlinhair
04-20-2003, 02:20 PM
Ok, if you go here: http://www.angelfire.com/art2/sizzer/Quizzes .. you can tell that I have my "Which Animal Are You?" quiz all set up and stuff, but I have one problem: I don't know how to make it go to the next page.. where it tells you the results. If anyone knows what I'm talking about, help is really appreciated :) Thanx.

starlet
04-20-2003, 02:51 PM
Create the pages puppy.html, hummingbird.html, fish.html and cheetah.html and it will automatically go to the right one when the person clicks submit...assuming your codes right, which it isnt...theres a small error, down at the end in the var out section...


var out = "hummingbird";
i = red;
if (hummingbird > i) { out = "hummingbird"; i = hummingbird; }
if (cheetah > i) { out = "cheetah"; i = cheetah; }
if (puppy > i) { out = "puppy"; i = puppy; }
if (fish > i) { out = "fish"; i = fish; }

Change where it says red so it says hummingbird, create those pages and then everything should work fine.

SizzZzlinhair
04-20-2003, 02:58 PM
Thanx! Yea, I noticed that a minute ago. It's fixed :)