Widget:Sandbox: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 609: | Line 609: | ||
$("#" + exam.examQuestions[exam.currentQuestion].selectedAnswer).removeClass("answerNoBorder"); | $("#" + exam.examQuestions[exam.currentQuestion].selectedAnswer).removeClass("answerNoBorder"); | ||
} | } | ||
$("#examSpace").append("<br /><br />The correct answer is: " + exam.examQuestions[exam.currentQuestion].RightAnswer + "<br /><br /><b>" + exam.examQuestions[exam.currentQuestion].Explanation + "</b> | $("#examSpace").append("<br /><br />The correct answer is: " + exam.examQuestions[exam.currentQuestion].RightAnswer + "<br /><br /><b>" + exam.examQuestions[exam.currentQuestion].Explanation + "</b><br /><br />"); | ||
} | } | ||
} | } | ||
Line 672: | Line 672: | ||
event.data.examQuestions[event.data.currentQuestion].creditRecieved = true; | event.data.examQuestions[event.data.currentQuestion].creditRecieved = true; | ||
} | } | ||
$("#examSpace").append("<b>Author:</b> " + | $("#examSpace").append("<b>Author:</b> " + exam.examQuestions[exam.currentQuestion].PageAuthor + "<br /><br /><b>Wiki Page:</b>" + exam.examQuestions[exam.currentQuestion].PageName + "<br /><br />"); | ||
if (event.data.examType === "Tutor") { | if (event.data.examType === "Tutor") { | ||
$(".answerExp").css("height", "auto"); | $(".answerExp").css("height", "auto"); |