Forum Discussion

ChristinaBush's avatar
ChristinaBush
Community Member
2 years ago

Hide Replay Button

I need to hide the replay button for an entire course since my organization requires that we have a seekbar on all slides.  I found an older discussion that said the script was: document.getElementById("reset").style.display = "none"
but it did not provide directions on how or where to enter that.  I'd appreciate some detailed assistance.  (When I run the Javascript on each slide, the replay button shows for half a second before hiding.)

  • try better

    document.getElementById("reset").classList.add("hidden") 

    this will not be reset, if you change the slide (only on start of the course the replay button is visible for a short time*)

    the script should now only be on the start page - BUT if you have "On Restart resume" active, any page can be start page

    so integrate the script in all slide master you use

    * if this is a problem, you have to use another methode -> change the html or the css file of the storyline player