Commit 0e8b6a42 by Nilu

C008 - UX-related - Partial reload of screen is distracting and unpleasant - fix…

C008 - UX-related - Partial reload of screen is distracting and unpleasant - fix to slide up the old question
parent e895f25f
...@@ -2068,6 +2068,9 @@ ul.security-level { ...@@ -2068,6 +2068,9 @@ ul.security-level {
padding: 53px 70px 0; padding: 53px 70px 0;
background-color: #fbfbfb; background-color: #fbfbfb;
} }
.job-match-questions{
background-color: #fbfbfb;
}
.job-match-buttons{ .job-match-buttons{
background-color: #fbfbfb; background-color: #fbfbfb;
} }
......
...@@ -101,11 +101,18 @@ ...@@ -101,11 +101,18 @@
$("#gotoPageNext").click(); $("#gotoPageNext").click();
return false; return false;
} }
$('.job-match-questions').empty(); ajaxProcessAddJQ ("<%= request.getContextPath() %>/extensions/applicantportal/inc/job_match_questions.jsp", '.job-match-questions' , {questionNumber : questionNumber, actualNumber: actualNumber},
function (theHTML_JQ) {
ajaxProcessAddJQ ("<%= request.getContextPath() %>/extensions/applicantportal/inc/job_match_questions.jsp", '.job-match-questions' , {questionNumber : questionNumber, actualNumber: actualNumber}); $( ".job-match-questions" ).after("<div class='job-match-questions'></div>"); //This will add a new element to the DOM
$('.job-match-questions:last').html(theHTML_JQ).hide(); // Add the new HTML to the newly created element and hide it
$(".job-match-questions:first").slideUp();
$(".job-match-questions:last").slideDown();
setTimeout(function(){
$(".job-match-questions:first").remove();
},800);
});
$('.timer').countimer('start'); $('.timer').countimer('start');
}, },
500); // delay in order to visually reinforce selection before advancing 500); // delay in order to visually reinforce selection before advancing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment