View Full Version : Help Me Please!!!!!


anime_rose
03-22-2003, 05:02 AM
Please help me! I have been trying forever to make a personality quiz, and it always says there's an error! *fumes* please help and tell me what to change and please be specific because I haven't worked on a site in a while and a little of HTML has escaped me! PLEASE HELP!!!

<head>
<font face="verdana"><font color="000000"><body background="http://www.geocities.com/blood_red_roses04/layoutbg.JPG">

<title>What Word Best Describes You?</title>
<SCRIPT LANGUAGE="JavaScript">
<!--
function process()
{
var http://www.geocities.com/YippySkippy3333/lovable.html = 0;
var http://www.geocities.com/YippySkippy3333/solitary.html = 0;
var http://www.geocities.com/YippySkippy3333/confident.html = 0;
var http://www.geocities.com/YippySkippy3333/shy.html = 0;
var http://www.geocities.com/YippySkippy3333/romantic.html = 0;
var http://www.geocities.com/YippySkippy3333/moneyhungry.html = 0;
var http://www.geocities.com/YippySkippy3333/mysterious.html = 0;
var f = document.f;
var i = 0;

for (i = 0; i < f.one.length; i++) if (f.one[i].checked) value = f.one[i].value;
if (value == "1") { CHOICE1++; }
if (value == "2") { CHOICE2++; }
if (value == "3") { CHOICE3++; }
if (value == "4") { CHOICE4++; }
if (value == "5") { CHOICE5++; }
if (value == "6") { CHOICE6++; }
if (value == "6") { CHOICE7++; }


for (i = 0; i < f.two.length; i++) if (f.two[i].checked) value = f.two[i].value;
if (value == "1") { CHOICE1++; }
if (value == "2") { CHOICE2++; }
if (value == "3") { CHOICE3++; }
if (value == "4") { CHOICE4++; }
if (value == "5") { CHOICE5++; }
if (value == "6") { CHOICE6++; }
if (value == "6") { CHOICE7++; }

for (i = 0; i < f.three.length; i++) if (f.three[i].checked) value = f.three[i].value;
if (value == "1") { CHOICE1++; }
if (value == "2") { CHOICE2++; }
if (value == "3") { CHOICE3++; }
if (value == "4") { CHOICE4++; }
if (value == "5") { CHOICE5++; }
if (value == "6") { CHOICE6++; }
if (value == "6") { CHOICE7++; }



for (i = 0; i < f.four.length; i++) if (f.four[i].checked) value = f.four[i].value;
if (value == "1") { CHOICE1++; }
if (value == "2") { CHOICE2++; }
if (value == "3") { CHOICE3++; }
if (value == "4") { CHOICE4++; }
if (value == "5") { CHOICE5++; }
if (value == "6") { CHOICE6++; }
if (value == "6") { CHOICE7++; }



for (i = 0; i < f.five.length; i++) if (f.five[i].checked) value = f.five[i].value;
if (value == "1") { CHOICE1++; }
if (value == "2") { CHOICE2++; }
if (value == "3") { CHOICE3++; }
if (value == "4") { CHOICE4++; }
if (value == "5") { CHOICE5++; }
if (value == "6") { CHOICE6++; }
if (value == "6") { CHOICE7++; }

for (i = 0; i < f.six.length; i++) if (f.six[i].checked) value = f.six[i].value;
if (value == "1") { CHOICE1++; }
if (value == "2") { CHOICE2++; }
if (value == "3") { CHOICE3++; }
if (value == "4") { CHOICE4++; }
if (value == "5") { CHOICE5++; }
if (value == "6") { CHOICE6++; }
if (value == "6") { CHOICE7++; }



var out = "CHOICE1";
i = CHOICE1;
if (CHOICE1 > i) { out = "CHOICE1"; i = CHOICE1; }
if (CHOICE2 > i) { out = "CHOICE2"; i = CHOICE2; }
if (CHOICE3 > i) { out = "CHOICE3"; i = CHOICE3; }
if (CHOICE4 > i) { out = "CHOICE4"; i = CHOICE4; }
if (CHOICE5 > i) { out = "CHOICE5"; i = CHOICE5; }
if (CHOICE6 > i) { out = "CHOICE6"; i = CHOICE6; }
if (CHOICE7 > i) { out = "CHOICE7"; i = CHOICE7; }

location.href = out + ".html";
}
function err(msg, url, line)
{
location.href = "error.html";
}
//window.onerror = err;
// -->
</SCRIPT>
</head>




<STYLE type="text/css">

<!--A:link{color:000000; text-decoration:none;font-weight:normal}-->
<!--A:visited{color:000000;text-decoration:none;font-weight:normal}-->
<!--A:active{color:000000;text-decoration:none;;background-color:none;font-weight:normal}-->
<!--A:hover{color:000000;text-decoration:underline;background-color:none;font-weight:normal}-->


<!--BODY {
color:000000;
font-size:10pt;
font-family:verdana;
line-height: 15px;
}-->

</style>

<BODY BACKGROUND="layoutbg.JPG">


</center></center>
<form name="f">
</font><font color="white"><b>Love is</b><br>
<input type="radio" name="one" value="1">Wundaful<br>
<input type="radio" name="one" value="2">Superficial<br>
<input type="radio" name="one" value="3">An emotion that is stronger than pain...<br>
<input type="radio" name="one" value="4">Kinda In Between...<br>
<input type="radio" name="one" value="5">Like strawberries dipped in chocolate!<br>
<input type="radio" name="one" value="6">Like diamonds, hun!<br>
<input type="radio" name="one" value="7">Optional<br>

<br><br>
</font>
<font color="white"><b>Your fav colors are</b><br>
<input type="radio" name="two" value="1">Red, Pink, Purple<br>
<input type="radio" name="two" value="2">Blue, Black, Gray<br>
<input type="radio" name="two" value="3">Orange, Yellow, White<br>
<input type="radio" name="two" value="4">Baby blue, Peach, Lavender<br>
<input type="radio" name="two" value="5">Blood red, Black, Dusty Blue<br>
<input type="radio" name="two" value="6">Gold, Silver, Emerald<br>
<input type="radio" name="two" value="7">Other<br>

</font>
<br><br>
<font color="white"><b>Night or Day?</b><br>
<input type="radio" name="three" value="1">Day!<br>
<input type="radio" name="three" value="2">Night<br>
<input type="radio" name="three" value="3">Both of em!<br>
<input type="radio" name="three" value="4">I dunno...<br>
<input type="radio" name="three" value="5">My roses enjoy sunlight more...<br>
<input type="radio" name="three" value="6">Whenever gold shines the most!<br>
<input type="radio" name="three" value="7">When the moon looms high, and the sun sleeps...<br>

</font><br><br>

<font color="white"><b>I have my Lucky</b><br>
<input type="radio" name="four" value="1">Rabbit's Foot!<br>
<input type="radio" name="four" value="2">What? Luck? HA! I fell 3 times today! I ain't got no luck!<br>
<input type="radio" name="four" value="3">Pencil!<br>
<input type="radio" name="four" value="4">Four-leaf clover I guess...<br>
<input type="radio" name="four" value="5">Rose, that smells as sweet as sugar!<br>
<input type="radio" name="four" value="6">Ancient Family Jewel!<br>
<input type="radio" name="four" value="7">Other than the above<br>
</font>
<br><br>

<font color="white"><b>My Significant Other is</b><br>
<input type="radio" name="five" value="1">Charming!<br>
<input type="radio" name="five" value="2">What significant other? I can get through this world all alone!<br>
<input type="radio" name="five" value="3">Smart!<br>
<input type="radio" name="five" value="4">Ok?<br>
<input type="radio" name="five" value="5">A natural romantic!<br>
<input type="radio" name="five" value="6">Rich, baby, YA!<br>
<input type="radio" name="five" value="7">Dead...<br>
<br><br>

<font color="white"><b>You get a new crush</b><br>
<input type="radio" name="six" value="1">Every five seconds!<br>
<input type="radio" name="six" value="2">I don't get crushes! They're for babies!<br>
<input type="radio" name="six" value="3">Every week or so!<br>
<input type="radio" name="six" value="4">A crush, you ask? *nervous laughter; blush blush*<br>
<input type="radio" name="six" value="5">I don't get new crushes, since I have already found my one and only love...<br>
<input type="radio" name="six" value="6">Everytime I gaze at a new issue of 'Rich Man Magazine!'<br>
<input type="radio" name="six" value="7">everytime the clock strikes 11:46 on a harvest moon and a black cat screeches their death call...<br>



<br>
<input type="button" value=" -*-Reality Check-*- " onclick="process();" style="font-family:verdana; font-size=8pt; font-color=FF0033; border:1; border-color:orange; border-style:solid; background-color:white"><br><br><br>

I got the code and tutorial from <a href="http://www.peachie.nu" target="_blank">peachie.nu designs</a>! Thanks!

</body>
</html>

starlet
03-22-2003, 02:30 PM
Your code is totally wrong, you shouldnt have the URLs in the first part and your meant to change the choices to your own....id suggest re reading that tutorial or look for another one.

Dude128
03-23-2003, 02:57 AM
you also have <font> tags (which you could combine) and a <body> tag inside the head section...