Forum Discussion
AndreaBorsoi-1d
6 months agoCommunity Member
JS-hiding the seekbar (but not the reset and play/pause buttons) - What is the "Id" of the seekbar object?
I am trying to hide only the seekbar on a single slide, but I would like to keep the play/pause button and the reset button in view.
I managed to hide the whole seekbar section (div=playback-cont...
Jürgen_Schoene_
6 months agoCommunity Member
you can hide the seekbar (on timeline starts) with
document.getElementById("seek").classList.add("hidden");
and show the seekbar (on timeline ends) with
document.getElementById("seek").classList.remove("hidden");
- "hidden" is includes in the default css of storyline
- "hidden" much better than "display none", if you want to (re)show the hidden element later
important: if you have the storyline menu active, you has to add "show the seekbar" on the timeline starts trigger of the Slide Master(s) of your course
on all used slide master: on timeline starts
document.getElementById("seek").classList.remove("hidden");
(If you use the trigger on the Slide Master, there is no need for "show seekbar" on timeline ends)
result:
https://360.articulate.com/review/content/d369b79c-1166-4e6c-8eb3-15d578c4adee/review