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 594: Line 594:
$("#examSpace").prepend(ratyLayers);
$("#examSpace").prepend(ratyLayers);


getRating(exam.examQuestions[exam.currentQuestion].PageName);
$("#star1").raty({
$("#star1").raty({
path : 'http://www.wikidoc.org/includes/raty/img/',
path : 'http://www.wikidoc.org/includes/raty/img/',
Line 605: Line 606:
click : function (score, event) {
click : function (score, event) {
submitRating("yield", score, exam.examQuestions[exam.currentQuestion].PageName)
submitRating("yield", score, exam.examQuestions[exam.currentQuestion].PageName)
},
},
hints : ['Very Poor', 'Poor', 'Average', 'Good', 'Very Good']
hints : ['Very Poor', 'Poor', 'Average', 'Good', 'Very Good']
});
});
Line 612: Line 613:
click : function (score, event) {
click : function (score, event) {
submitRating("quality", score, exam.examQuestions[exam.currentQuestion].PageName)
submitRating("quality", score, exam.examQuestions[exam.currentQuestion].PageName)
},
},
hints : ['Very Poor', 'Poor', 'Average', 'Good', 'Very Good']
hints : ['Very Poor', 'Poor', 'Average', 'Good', 'Very Good']
});
});
getRating(exam.examQuestions[exam.currentQuestion].PageName);
}
}
function answerClicked(event){
function answerClicked(event){

Revision as of 22:18, 20 February 2014