Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,522 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,829 people online right now. Registration is fast and FREE... Join Now!




how to show unanswered question to incorrect in result page?

 
Reply to this topicStart new topic

how to show unanswered question to incorrect in result page?

airuvy
5 Aug, 2008 - 09:56 PM
Post #1

New D.I.C Head
*

Joined: 5 Aug, 2008
Posts: 1

currentQuestionNumber++;
//numOfQuestionsAnsweredCorrectly++;
gotoAndStop("ShowQuiz");


currentQuestionNumber++;
//numOfQuestionsAnsweredIncorrectly++;
gotoAndStop("ShowQuiz");


var i=1;
while(i<(quizItems.length+1)) {
if (questans[i]==ansnumber[i])
numOfQuestionsAnsweredCorrectly++;
else
numOfQuestionsAnsweredIncorrectly++;
i++;
}
userScore= Math.round((numOfQuestionsAnsweredCorrectly*100)/
(numOfQuestionsAnsweredIncorrectly+numOfQuestionsAnsweredCorrectly));
stop();
answers.onRelease = function() {
gotoAndStop ("Answers")
}
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 09:41PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month