Widget:SandboxNew: Difference between revisions

Jump to navigation Jump to search
Matt Pijoan (talk | contribs)
No edit summary
Matt Pijoan (talk | contribs)
No edit summary
Line 13: Line 13:
function examHandler(){
function examHandler(){
selectExam();
selectExam();
$("div.answer").mouseover(function() {
 
    $(this).css('border','5px solid black')
}).mouseout(function(){
    $(this).css('border','')
});


$('#next').on('click', function(event){
$('#next').on('click', function(event){
Line 124: Line 120:
hideButtons();
hideButtons();
$.each(data.query.results, function(index, value){
$.each(data.query.results, function(index, value){
        $("div.answer").mouseover(function() {
            $(this).css('border','5px solid black')
        }).mouseout(function(){
            $(this).css('border','')
        });
var short = value.printouts;
var short = value.printouts;
var Q = document.getElementById('question');
var Q = document.getElementById('question');

Revision as of 15:35, 30 October 2012