Forum Discussion
ChristophSchmol
20 days agoCommunity Member
Hiding a TOC entry based on a variable
Can I hide a TOC entry depending on a variable in Storyline? I urgently need this feature for a training course.
Thank you for your help.
- 19 days ago
Hi Nedim, thanks for your offer.
I think I've found a simple solution. To hide the TOC entry "NEW", I simply put this script in a trigger linked to my variable:
let NEW = document.querySelector(‘[data-slide-title=“NEW”]’); NEW.closest(“li”).style.display = “none”;
JudyNollet
20 days agoSuper Hero
You can customize the built-in Menu before you publish a course. But Storyline doesn't have a way to change it afterward.
That can be done with JavaScript. I can't help with that. However, Nedim provided an example in this discussion.
Related Content
- 6 months ago