Forum Discussion
How to hide Green/Red feedback bar at the bottom of quiz while review?
Yes this is something I can share. To start with, Articulate is currently in process of updating their Storyline player to make it more accessible. It is my understanding that Articulate will stop including jQuery in their new player. So if you use the jQuery code I previously shared, once Articulate moves to their new SL player, you will need to include jQuery, or change the code.
So a better option is to use only JavaScript. The following code is what I came up with after a little research. This assumes that the aria-label for the Correct and Incorrect ribbons will stay the same.
document.querySelectorAll('[aria-label="Correct"]')[0].style.display = "none";
document.querySelectorAll('[aria-label="Incorrect"]')[0].style.display = "none";
This code needs to be placed in an Execute JavaScript Trigger on each question page in the assessment, set to When timeline starts.
The assessment I built includes a variable called assessReview which is initially set to False. I only run the JavaScript when assessReview == True. Selecting the Review button, first sets assessReview = True, then calls the Trigger to review the results.
I tested this in IE Version: 11.1069.17134.0 and Chrome Version 78.0.3904.97 (Official Build) (64-bit).
- WendyFarmer6 years agoSuper Hero
Perfect Steven - thanks so much for sharing :-)
Related Content
- 3 years ago
- 8 months ago
- 3 months ago