I've recently introduced some JQuery code into Xerte's 'Quiz' template, in order to auto-scroll to feedback once a user has submitted their MCQ answer via the 'Submit' button.
This was done in response to feedback I received from an academic I'm working with, who quite rightly pointed out that our students could easily miss the valuable hints and feedback text (below the MCQ question) on smaller screen sizes.
The fix I implemented was as follows:
// JavaScript / jQuery
$("#checkBtn").click(function(){
$('#mainPanel').animate({
scrollTop: $('#feedback').offset().top - 20
}, 'slow');
});
The code was added on to the slide itself via the 'Script' optional property and the 'Execute' drop-down menu was set to 'Every time page is viewed'.
I've found this useful and wanted to share this with other developers, just in case people wanted to use a similar approach. I'm sure there's even more sophisticated ways of achieving this effect and I'd welcome feedback.
I also use this effect on similar page types.