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

Join 109,540 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,209 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! 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
post 5 Aug, 2008 - 10: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

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 9/7/08 09:53PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month