it doesn't work because it is a quiz and when they click, they have a popup saying that the answer is correct or not. so with the iframe, I cannot have popup
thanks
hello, yes it helped me understand more of javascript. My problem is still there. I want only one quiz_basic.htm for all 50 sites, that would be at hazardhouse.com/quiz_basic.htm. The questions will change and I do not want to change every quiz one by one because they are the same. The...
this is what I need to do:
www.hazardhouse.com/test
www.hazardhouse.com/test/quizintro.htm
www.hazardhouse.com/quiz/quiz_basic.htm
www.hazardhouse.com/test/quizinfo.htm
www.hazardhouse.com/test2
www.hazardhouse.com/test2/quizintro.htm
www.hazardhosue.com/quiz/quiz_basic.htm...
I'm sorry, I'm not used to the javascript..
Where should I put the string in my code:
if (ans[question].indexOf(answer) == -1){
// incorrect answer
}
Thanks
here is my script, how can I write the script to have more than one possible answers?:
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var ans = new Array;
var done = new Array;
done[1] = false;
done[1] = false;
done[3] = false;
done[4] = false;
done[5] = false;
done[6] = false;
done[7] =...
the switch code doesn't work!!! I probably didn't inserted correctly.. could you help me please...
look at the code posted on nov 22 in this thread..
thanks
Someone told me to do a switch location but I'm not sure if my code is correct.
I am at this address www.hazardhouse.com/test
when I click on quiz it goes here www.hazardhouse.com/quiz/quiz_basic.htm
Here is my problem: After clicking on get certificate, I need to go back to the root ...
ok now I found the problem for my quiz. It does work now. the problem is when I click on the button to get the certificate, I have an error page.
When I click the certificate button, it goes here:
www.hazardhouse.com/quiz/quizinfo.htm
Why does it says in the same folder??
Hello,
I'm not very familiar with javascript, usually I take a code and insert it into my .htm file. Usually I understand what it says and does and I can change a few string of the code. You will see above what I did. I'm must be missing something or did not put the code in the right place...
the problem is that I can't write: self.location="/test/quizinfo.htm" because the folder name test changes depending on who is going on the site. I would need to put something here: self.location="/???/quizinfo.htm" to go back to the folder the person was into before going to the quiz... I'm...
abfco
-quizintro.htm *this is where we choose to go to the quiz
-quizinfo.htm *this is where the person enters their
information to go to the certificate
certificates
-abfco
-juniorcertificate.gif
-mailsubject.txt
-juniorcounter.txt
quiz...
thanks, but I tried all this before and it's still not working.
On the server I have different folders
web1
web2
web3
web4
web5
In each of those folders I have a page called quizintro.htm and when on click on this it goes to quiz/quiz_basic.htm
This is fine up to here...
Then when I click on...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.