Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q97

irt.org | About | Feedback | 1747 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q97

Sent by
Andrew Winton on September 13, 2000 at 05:03:01:

Worth:
Very worth reading

Comments:
It doesn't work properly! If you get all the answers right, it just clears the results boxes and returns you to the top of the page.

By trial and error, I think the problem is in the line:

if (correct != numberOfQuestions) return false; else return true;

After hacking about a bit (I know NOTHING about JavaScript!) I changed it to:

if (correct != numberOfQuestions) return false;
else if (wrong != numberOfQuestions) return false;
else return true;

... and that seemd to work.

I have no idea if this is correct (even if it works). Could you let me know?

Many thanks and congratulations on a great site!

Andrew.




Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.